[Freeswitch-svn] [commit] r10039 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Oct 15 18:57:28 EDT 2008


Author: mikej
Date: Wed Oct 15 18:57:28 2008
New Revision: 10039

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
plug massive leak

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Wed Oct 15 18:57:28 2008
@@ -1541,6 +1541,7 @@
 
 	switch_threadattr_create(&thd_attr, sth->pool);
 	switch_threadattr_stacksize_set(thd_attr, SWITCH_SYSTEM_THREAD_STACKSIZE);
+	switch_threadattr_detach_set(thd_attr, 1);
 	switch_thread_create(&thread, thd_attr, system_thread, sth, sth->pool);
 
 	if (wait) {



More information about the Freeswitch-svn mailing list