[asterisk-commits] file: branch 1.4 r67924 - /branches/1.4/main/file.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 16:38:15 MST 2007


Author: file
Date: Wed Jun  6 18:38:15 2007
New Revision: 67924

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67924
Log:
Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)

Modified:
    branches/1.4/main/file.c

Modified: branches/1.4/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/file.c?view=diff&rev=67924&r1=67923&r2=67924
==============================================================================
--- branches/1.4/main/file.c (original)
+++ branches/1.4/main/file.c Wed Jun  6 18:38:15 2007
@@ -956,6 +956,8 @@
 				}
 				if (fs)
 					ast_free(fs);
+				fs = NULL;
+				continue;
 			}
 			fs->trans = NULL;
 			fs->fmt = f;



More information about the asterisk-commits mailing list