1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-19 17:57:22 +00:00

del buffer

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13853 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-06-18 23:03:54 +00:00
parent d6ace6e831
commit 1778578b1e

@ -168,6 +168,10 @@ static switch_status_t shell_stream_file_close(switch_file_handle_t *handle)
close(context->fds[0]);
}
if (context->audio_buffer) {
switch_buffer_destroy(&context->audio_buffer);
}
switch_thread_rwlock_wrlock(context->rwlock);
switch_thread_rwlock_unlock(context->rwlock);