X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=blobdiff_plain;f=src%2Flibfast%2Fdispatcher.c;h=e2c301d3e76cb1b7c4d5883098de7b97ef34bd2c;hp=d5708d0ac5703d5899490c135290c0e32ce853c8;hb=9529fb68360212da5ef49cf30495fb8c1318aa4e;hpb=552cc11b1f017ce4962fca741f567d098f768574 diff --git a/src/libfast/dispatcher.c b/src/libfast/dispatcher.c index d5708d0..e2c301d 100644 --- a/src/libfast/dispatcher.c +++ b/src/libfast/dispatcher.c @@ -344,6 +344,7 @@ static void destroy(private_dispatcher_t *this) this->sessions->destroy_function(this->sessions, (void*)session_entry_destroy); this->controllers->destroy_function(this->controllers, free); this->filters->destroy_function(this->filters, free); + free(this->threads); free(this); } @@ -370,6 +371,7 @@ dispatcher_t *dispatcher_create(char *socket, bool debug, int timeout, this->fd = 0; this->timeout = timeout; this->debug = debug; + this->threads = NULL; FCGX_Init();