From 67a1a6f4c566e9a74dc0875b0ad145de5d46bbaa Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 25 Feb 2008 16:42:34 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7734 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_channel.c b/src/switch_channel.c index 47980e233c..2d8d1494a0 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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); }