diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-07 22:26:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-07 22:26:42 +0000 |
commit | 87f5227866af7b067b357c0c5475551eed654f40 (patch) | |
tree | 76d76a5fd718267e319826cab1a5f1d0dc4cc7bd /main/file.c | |
parent | 524e17d811b3167650a11ac37a1514cb95d0b30b (diff) |
Don't fclose() the file early, the filestream destructor will handle it.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@167554 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index e3a9859f4..8878fae1b 100644 --- a/main/file.c +++ b/main/file.c @@ -467,7 +467,6 @@ static int ast_filehelper(const char *filename, const void *arg2, const char *fm continue; } if (open_wrapper(s)) { - fclose(bfile); free(fn); ast_closestream(s); continue; /* cannot run open on file */ |