fix memory leak in controller and use lock protect apiserver data structure
This commit is contained in:
parent
06c561cea4
commit
e7dc09c604
3 changed files with 29 additions and 3 deletions
|
|
@ -83,6 +83,7 @@ typedef struct {
|
|||
} scheduler_t;
|
||||
|
||||
typedef struct {
|
||||
mylock_t lock;
|
||||
char* name;
|
||||
endpoint_t* ep;
|
||||
} cluster_apiserver_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue