diff options
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index aee964649..c0bc758b3 100644 --- a/main/file.c +++ b/main/file.c @@ -450,7 +450,7 @@ static int ast_filehelper(const char *filename, const void *arg2, const char *fm if (open_wrapper(s)) { fclose(bfile); ast_free(fn); - ast_free(s); + ast_closestream(s); continue; /* cannot run open on file */ } if (st.st_size == 0) { |