From 4624bd5e8b44407d6761fab53c39b007ff99cf74 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Fri, 27 Feb 2009 19:22:30 +0000 Subject: [PATCH] Fix leak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12330 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_async.c | 1 + 1 file changed, 1 insertion(+) 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))) {