diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 23:41:37 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-06 23:41:37 +0000 |
commit | 85ac6a6cd9aabf6ddaab7bd34a2fe8323ae5f016 (patch) | |
tree | a5a81572ec679bf5e47bc225479305044d79161e /main/file.c | |
parent | 85f5258b00da3e8f3fc9509efed45045ca6a5d16 (diff) |
Merged revisions 67924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67924 | file | 2007-06-06 19:38:15 -0400 (Wed, 06 Jun 2007) | 2 lines
Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67925 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/file.c b/main/file.c index a7c5bfe93..f315bfcd2 100644 --- a/main/file.c +++ b/main/file.c @@ -944,6 +944,8 @@ struct ast_filestream *ast_writefile(const char *filename, const char *type, con } if (fs) ast_free(fs); + fs = NULL; + continue; } fs->trans = NULL; fs->fmt = f; |