From b2429e8df60965c93f8d7344a6a84f1be10b15e4 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Sep 2008 22:43:49 +0000 Subject: [PATCH] fix small leak in wait_for_silence git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9452 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_play_say.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 23f7ebcb24..b92736fb38 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1354,6 +1354,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_silence(switch_core_session_ if (abuf) { switch_core_file_close(&fh); + free(abuf); } return status;