From 448388f5ccd7da61d1f6b99df4e9fe6a6319399a Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 7 Jan 2009 22:27:23 +0000 Subject: 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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167555 f38db490-d61c-443f-a65b-d21fe96a405b --- main/file.c | 1 - 1 file changed, 1 deletion(-) (limited to 'main/file.c') diff --git a/main/file.c b/main/file.c index 9729431af..ee9d5d9fa 100644 --- a/main/file.c +++ b/main/file.c @@ -449,7 +449,6 @@ static int ast_filehelper(const char *filename, const void *arg2, const char *fm continue; } if (open_wrapper(s)) { - fclose(bfile); ast_free(fn); ast_closestream(s); continue; /* cannot run open on file */ -- cgit v1.2.3