提交 a5545350 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@297 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 e89f94f0
......@@ -215,7 +215,7 @@ static zap_status_t zap_channel_destroy(zap_channel_t *zchan)
{
if (zap_test_flag(zchan, ZAP_CHANNEL_CONFIGURED)) {
zap_mutex_destroy(&zchan->mutex);
zap_buffer_destroy(&zchan->digit_buffer);
zap_buffer_destroy(&zchan->dtmf_buffer);
zap_buffer_destroy(&zchan->fsk_buffer);
......@@ -234,6 +234,8 @@ static zap_status_t zap_channel_destroy(zap_channel_t *zchan)
zap_log(ZAP_LOG_ERROR, "Error Closing channel %u:%u fd:%d\n", zchan->span_id, zchan->chan_id, zchan->sockfd);
}
}
zap_mutex_destroy(&zchan->mutex);
}
return ZAP_SUCCESS;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论