mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 12:44:15 +00:00
remove -w from makefile and fix all the obvious mistakes it was hiding
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@360 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
f81b02f429
commit
e203b777f2
3 files changed
+41
-8
No files matched your search
@@ -1135,6 +1135,9 @@ static ZIO_CHANNEL_DESTROY_FUNCTION(pika_channel_destroy)
|
||||
return ZAP_FAIL;
|
||||
}
|
||||
|
||||
if (!zap_test_flag(chan_data, PK_FLAG_READY)) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
PKH_RECORD_Stop(chan_data->media_in);
|
||||
PKH_PLAY_Stop(chan_data->media_out);
|
||||
@@ -1160,6 +1163,8 @@ static ZIO_CHANNEL_DESTROY_FUNCTION(pika_channel_destroy)
|
||||
|
||||
zap_mutex_destroy(&chan_data->digit_mutex);
|
||||
zap_buffer_destroy(&chan_data->digit_buffer);
|
||||
|
||||
end:
|
||||
zap_safe_free(chan_data);
|
||||
|
||||
return ZAP_SUCCESS;
|
||||
|
||||
Reference in new issue
Block a user