提交 75e18537 authored 作者: Michael Jerris's avatar Michael Jerris

plug massive leak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10039 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8ec42371
......@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论