mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Clean-up all memory on deinitialization of sec-mod and worker.
That will allow to easier spot any unintentional memory leaks.
This commit is contained in:
@@ -220,6 +220,8 @@ typedef struct worker_st {
|
||||
char* dns[MAX_ROUTES];
|
||||
unsigned nbns_size;
|
||||
char* nbns[MAX_ROUTES];
|
||||
|
||||
void *main_pool; /* to be used only on deinitialization */
|
||||
} worker_st;
|
||||
|
||||
void vpn_server(struct worker_st* ws);
|
||||
|
||||
Reference in New Issue
Block a user