aboutsummaryrefslogtreecommitdiffstats
path: root/src/libfast/dispatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfast/dispatcher.c')
-rw-r--r--src/libfast/dispatcher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libfast/dispatcher.c b/src/libfast/dispatcher.c
index d5708d0ac..e2c301d3e 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();