Fix leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12330 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
cdf444ea4f
commit
4624bd5e8b
|
@ -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))) {
|
||||
|
|
Loading…
Reference in New Issue