[Freeswitch-trunk] [commit] r13853 - freeswitch/trunk/src/mod/formats/mod_shell_stream
FreeSWITCH SVN
anthm at freeswitch.org
Thu Jun 18 16:03:54 PDT 2009
Author: anthm
Date: Thu Jun 18 18:03:54 2009
New Revision: 13853
Log:
del buffer
Modified:
freeswitch/trunk/src/mod/formats/mod_shell_stream/mod_shell_stream.c
Modified: freeswitch/trunk/src/mod/formats/mod_shell_stream/mod_shell_stream.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shell_stream/mod_shell_stream.c (original)
+++ freeswitch/trunk/src/mod/formats/mod_shell_stream/mod_shell_stream.c Thu Jun 18 18:03:54 2009
@@ -168,6 +168,10 @@
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);
More information about the Freeswitch-trunk
mailing list