[asterisk-commits] russell: branch 1.4 r167554 - /branches/1.4/main/file.c

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


Author: russell
Date: Wed Jan  7 16:26:42 2009
New Revision: 167554

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167554
Log:
Don't fclose() the file early, the filestream destructor will handle it.

Modified:
    branches/1.4/main/file.c

Modified: branches/1.4/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/file.c?view=diff&rev=167554&r1=167553&r2=167554
==============================================================================
--- branches/1.4/main/file.c (original)
+++ branches/1.4/main/file.c Wed Jan  7 16:26:42 2009
@@ -467,7 +467,6 @@
 					continue;
 				}
 				if (open_wrapper(s)) {
-					fclose(bfile);
 					free(fn);
 					ast_closestream(s);
 					continue;	/* cannot run open on file */




More information about the asterisk-commits mailing list