git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7734 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-02-25 16:42:34 +00:00
parent f5479f97b5
commit 67a1a6f4c5
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ SWITCH_DECLARE(void) switch_channel_flush_dtmf(switch_channel_t *channel)
void *pop;
switch_mutex_lock(channel->dtmf_mutex);
while(switch_queue_trypop(channel->dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) {
free(pop);
switch_safe_free(pop);
}
switch_mutex_unlock(channel->dtmf_mutex);
}