]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix small leak in wait_for_silence
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Sep 2008 22:43:49 +0000 (22:43 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 4 Sep 2008 22:43:49 +0000 (22:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9452 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index 23f7ebcb24bd909765dbdf2741d1fde487b3646d..b92736fb387bee706b2e11e7c0ec2bea1eec2a92 100644 (file)
@@ -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;