[asterisk-commits] russell: branch 1.6.0 r167543 - in /branches/1.6.0: ./ main/file.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 7 16:06:18 CST 2009
Author: russell
Date: Wed Jan 7 16:06:18 2009
New Revision: 167543
URL: http://svn.digium.com/view/asterisk?view=rev&rev=167543
Log:
Merged revisions 167542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r167542 | russell | 2009-01-07 16:05:29 -0600 (Wed, 07 Jan 2009) | 12 lines
Merged revisions 167541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r167541 | russell | 2009-01-07 16:03:59 -0600 (Wed, 07 Jan 2009) | 4 lines
Don't use free() directly. This caused a crash since ast_filestream is now an ao2 object.
Reported by JunK-Y on IRC, #asterisk-dev
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/main/file.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/main/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/main/file.c?view=diff&rev=167543&r1=167542&r2=167543
==============================================================================
--- branches/1.6.0/main/file.c (original)
+++ branches/1.6.0/main/file.c Wed Jan 7 16:06:18 2009
@@ -448,7 +448,7 @@
if (open_wrapper(s)) {
fclose(bfile);
ast_free(fn);
- ast_free(s);
+ ast_closestream(s);
continue; /* cannot run open on file */
}
/* ok this is good for OPEN */
More information about the asterisk-commits
mailing list