[asterisk-commits] russell: trunk r167555 - in /trunk: ./ main/file.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 7 16:27:24 CST 2009


Author: russell
Date: Wed Jan  7 16:27:23 2009
New Revision: 167555

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167555
Log:
Merged revisions 167554 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r167554 | russell | 2009-01-07 16:26:42 -0600 (Wed, 07 Jan 2009) | 2 lines

Don't fclose() the file early, the filestream destructor will handle it.

........

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=167555&r1=167554&r2=167555
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Wed Jan  7 16:27:23 2009
@@ -449,7 +449,6 @@
 					continue;
 				}
 				if (open_wrapper(s)) {
-					fclose(bfile);
 					ast_free(fn);
 					ast_closestream(s);
 					continue;	/* cannot run open on file */




More information about the asterisk-commits mailing list