提交 1778578b authored 作者: Anthony Minessale's avatar Anthony Minessale

del buffer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13853 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d6ace6e8
...@@ -168,6 +168,10 @@ static switch_status_t shell_stream_file_close(switch_file_handle_t *handle) ...@@ -168,6 +168,10 @@ static switch_status_t shell_stream_file_close(switch_file_handle_t *handle)
close(context->fds[0]); close(context->fds[0]);
} }
if (context->audio_buffer) {
switch_buffer_destroy(&context->audio_buffer);
}
switch_thread_rwlock_wrlock(context->rwlock); switch_thread_rwlock_wrlock(context->rwlock);
switch_thread_rwlock_unlock(context->rwlock); switch_thread_rwlock_unlock(context->rwlock);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论