[Freeswitch-svn] [commit] r12330 - freeswitch/trunk/src

FreeSWITCH SVN mrene at freeswitch.org
Fri Feb 27 11:22:30 PST 2009


Author: mrene
Date: Fri Feb 27 13:22:30 2009
New Revision: 12330

Log:
Fix leak

Modified:
   freeswitch/trunk/src/switch_ivr_async.c

Modified: freeswitch/trunk/src/switch_ivr_async.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_async.c	(original)
+++ freeswitch/trunk/src/switch_ivr_async.c	Fri Feb 27 13:22:30 2009
@@ -1133,6 +1133,7 @@
 				}
 				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))) {



More information about the Freeswitch-svn mailing list