[asterisk-commits] tilghman: trunk r142741 - in /trunk: ./ main/file.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 12 11:29:01 CDT 2008
Author: tilghman
Date: Fri Sep 12 11:29:01 2008
New Revision: 142741
URL: http://svn.digium.com/view/asterisk?view=rev&rev=142741
Log:
Merged revisions 142740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r142740 | tilghman | 2008-09-12 11:27:32 -0500 (Fri, 12 Sep 2008) | 4 lines
Don't return a free'd pointer, when a file cannot be opened.
(closes issue #13462)
Reported by: wackysalut
........
Modified:
trunk/ (props changed)
trunk/main/file.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=142741&r1=142740&r2=142741
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Fri Sep 12 11:29:01 2008
@@ -916,6 +916,7 @@
ast_log(LOG_WARNING, "Unable to open %s\n", fn);
if (fs)
ast_free(fs);
+ fs = NULL;
if (bfile)
fclose(bfile);
ast_free(fn);
More information about the asterisk-commits
mailing list