diff options
Diffstat (limited to 'src/backend/anastasis-httpd.c')
-rw-r--r-- | src/backend/anastasis-httpd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/anastasis-httpd.c b/src/backend/anastasis-httpd.c index 35a4d9c..fdf17ff 100644 --- a/src/backend/anastasis-httpd.c +++ b/src/backend/anastasis-httpd.c @@ -112,6 +112,11 @@ static int AH_connection_close; static struct GNUNET_SCHEDULER_Task *mhd_task; /** + * Heap for processing timeouts of requests. + */ +struct GNUNET_CONTAINER_Heap *AH_to_heap; + +/** * Global return code */ static int global_result; @@ -496,6 +501,11 @@ do_shutdown (void *cls) ANASTASIS_DB_plugin_unload (db); db = NULL; } + if (NULL != AH_to_heap) + { + GNUNET_CONTAINER_heap_destroy (AH_to_heap); + AH_to_heap = NULL; + } } |