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))) {