[asterisk-commits] tilghman: trunk r245729 - /trunk/apps/app_fax.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 9 12:06:43 CST 2010
Author: tilghman
Date: Tue Feb 9 12:06:30 2010
New Revision: 245729
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245729
Log:
Ensure frames are only freed once.
(closes issue #16361)
Reported by: vlad
Patches:
20100208__issue16361.diff.txt uploaded by tilghman (license 14)
Tested by: kenny, bloodoff, misaksen
Modified:
trunk/apps/app_fax.c
Modified: trunk/apps/app_fax.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_fax.c?view=diff&rev=245729&r1=245728&r2=245729
==============================================================================
--- trunk/apps/app_fax.c (original)
+++ trunk/apps/app_fax.c Tue Feb 9 12:06:30 2010
@@ -559,6 +559,7 @@
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);
@@ -698,6 +699,7 @@
}
ast_frfree(inf);
+ inf = NULL;
}
ast_debug(1, "Loop finished, res=%d\n", res);
More information about the asterisk-commits
mailing list