]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
free global pool on shutdown
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 8 Apr 2014 22:29:31 +0000 (03:29 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 9 Apr 2014 18:26:47 +0000 (23:26 +0500)
src/switch_scheduler.c

index 55875722bd8de7d193abc4db8bfdfc8397b0d1e5..e734bad087df5b4fed8e45020ab8895bbc1a8299 100644 (file)
@@ -357,6 +357,9 @@ SWITCH_DECLARE(void) switch_scheduler_task_thread_stop(void)
                        }
                }
        }
+       
+       switch_core_destroy_memory_pool(&globals.memory_pool);
+
 }
 
 /* For Emacs: