[asterisk-commits] trunk r33514 - in /trunk: ./ apps/app_festival.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jun 11 13:46:06 MST 2006


Author: russell
Date: Sun Jun 11 15:46:05 2006
New Revision: 33514

URL: http://svn.digium.com/view/asterisk?rev=33514&view=rev
Log:
Merged revisions 33513 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33513 | russell | 2006-06-11 16:45:06 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a couple places that would leak a frame

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_festival.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_festival.c?rev=33514&r1=33513&r2=33514&view=diff
==============================================================================
--- trunk/apps/app_festival.c (original)
+++ trunk/apps/app_festival.c Sun Jun 11 15:46:05 2006
@@ -238,11 +238,13 @@
 					myf.f.data = myf.frdata;
 					if (ast_write(chan, &myf.f) < 0) {
 						res = -1;
+						ast_frfree(f);
 						break;
 					}
 					if (res < needed) { /* last frame */
 						ast_log(LOG_DEBUG, "Last frame\n");
 						res=0;
+						ast_frfree(f);
 						break;
 					}
 				} else {



More information about the asterisk-commits mailing list