plug massive leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10039 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8ec42371bb
commit
75e1853733
|
@ -1541,6 +1541,7 @@ SWITCH_DECLARE(int) switch_system(const char *cmd, switch_bool_t wait)
|
|||
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue