[asterisk-commits] tilghman: branch 1.6.1 r142743 - in /branches/1.6.1: ./ main/file.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 12 11:30:48 CDT 2008
Author: tilghman
Date: Fri Sep 12 11:30:48 2008
New Revision: 142743
URL: http://svn.digium.com/view/asterisk?view=rev&rev=142743
Log:
Merged revisions 142741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r142741 | tilghman | 2008-09-12 11:29:01 -0500 (Fri, 12 Sep 2008) | 12 lines
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:
branches/1.6.1/ (props changed)
branches/1.6.1/main/file.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/main/file.c?view=diff&rev=142743&r1=142742&r2=142743
==============================================================================
--- branches/1.6.1/main/file.c (original)
+++ branches/1.6.1/main/file.c Fri Sep 12 11:30:48 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