update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7734 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f5479f97b5
commit
67a1a6f4c5
|
@ -361,7 +361,7 @@ SWITCH_DECLARE(void) switch_channel_flush_dtmf(switch_channel_t *channel)
|
||||||
void *pop;
|
void *pop;
|
||||||
switch_mutex_lock(channel->dtmf_mutex);
|
switch_mutex_lock(channel->dtmf_mutex);
|
||||||
while(switch_queue_trypop(channel->dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) {
|
while(switch_queue_trypop(channel->dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) {
|
||||||
free(pop);
|
switch_safe_free(pop);
|
||||||
}
|
}
|
||||||
switch_mutex_unlock(channel->dtmf_mutex);
|
switch_mutex_unlock(channel->dtmf_mutex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue