From: Mathieu Rene Date: Fri, 27 Feb 2009 19:22:30 +0000 (+0000) Subject: Fix leak X-Git-Tag: v1.0.4~1776 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4624bd5e8b44407d6761fab53c39b007ff99cf74;p=thirdparty%2Ffreeswitch.git Fix leak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12330 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index f1a661b1d9..fa6f47d000 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1133,6 +1133,7 @@ static switch_bool_t inband_dtmf_generate_callback(switch_media_bug_t *bug, void } pvt->ts.duration = duration; teletone_run(&pvt->ts, buf); + switch_safe_free(pop); } if (switch_buffer_inuse(pvt->audio_buffer) && (bytes = switch_buffer_read(pvt->audio_buffer, frame->data, frame->datalen))) {