From: Anthony Minessale Date: Tue, 8 Apr 2014 22:29:31 +0000 (+0500) Subject: free global pool on shutdown X-Git-Tag: v1.5.12~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d789c6470a572194e01b233eefbaeb0242eaee96;p=thirdparty%2Ffreeswitch.git free global pool on shutdown --- diff --git a/src/switch_scheduler.c b/src/switch_scheduler.c index 55875722bd..e734bad087 100644 --- a/src/switch_scheduler.c +++ b/src/switch_scheduler.c @@ -357,6 +357,9 @@ SWITCH_DECLARE(void) switch_scheduler_task_thread_stop(void) } } } + + switch_core_destroy_memory_pool(&globals.memory_pool); + } /* For Emacs: