From: Anthony Minessale Date: Mon, 25 Feb 2008 16:41:28 +0000 (+0000) Subject: update X-Git-Tag: v1.0-rc1~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5479f97b5643aa52f5103aa14fc81e03b86f18f;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7733 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index edec12ab5f..42ecbe72f9 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -857,11 +857,11 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) switch_rtp_kill_socket(*rtp_session); while(switch_queue_trypop((*rtp_session)->dtmf_data.dtmf_inqueue, &pop) == SWITCH_STATUS_SUCCESS) { - free(pop); + switch_safe_free(pop); } while(switch_queue_trypop((*rtp_session)->dtmf_data.dtmf_queue, &pop) == SWITCH_STATUS_SUCCESS) { - free(pop); + switch_safe_free(pop); } if ((*rtp_session)->jb) {