[asterisk-commits] file: branch 1.6.1 r198065 - in /branches/1.6.1: ./ main/file.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 29 13:39:50 CDT 2009
Author: file
Date: Fri May 29 13:39:46 2009
New Revision: 198065
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198065
Log:
Merged revisions 198064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r198064 | file | 2009-05-29 15:39:04 -0300 (Fri, 29 May 2009) | 2 lines
Fix a memory leak of the write buffer when writing a file.
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/file.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/file.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.1/main/file.c?view=diff&rev=198065&r1=198064&r2=198065
==============================================================================
--- branches/1.6.1/main/file.c (original)
+++ branches/1.6.1/main/file.c Fri May 29 13:39:46 2009
@@ -322,6 +322,9 @@
fclose(f->f);
if (f->vfs)
ast_closestream(f->vfs);
+ if (f->write_buffer) {
+ ast_free(f->write_buffer);
+ }
if (f->orig_chan_name)
free((void *) f->orig_chan_name);
ast_module_unref(f->fmt->module);
More information about the asterisk-commits
mailing list