mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +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:
@@ -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