aboutsummaryrefslogtreecommitdiffstats
path: root/main/file.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-07 22:27:23 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-07 22:27:23 +0000
commit448388f5ccd7da61d1f6b99df4e9fe6a6319399a (patch)
tree97db61c81ff221263f600e1e0160126c2db697f5 /main/file.c
parentc57fb33f9284aa6b07ba54eb4f7e06ca48536c3b (diff)
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
Diffstat (limited to 'main/file.c')
-rw-r--r--main/file.c1
1 files changed, 0 insertions, 1 deletions
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 */