[asterisk-commits] rmudgett: branch group/issue14068 r198070 - in /team/group/issue14068: ./ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 29 13:56:42 CDT 2009
Author: rmudgett
Date: Fri May 29 13:56:38 2009
New Revision: 198070
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198070
Log:
Merged revisions 198064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r198064 | file | 2009-05-29 13:39:04 -0500 (Fri, 29 May 2009) | 2 lines
Fix a memory leak of the write buffer when writing a file.
........
Modified:
team/group/issue14068/ (props changed)
team/group/issue14068/main/file.c
Propchange: team/group/issue14068/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri May 29 13:56:38 2009
@@ -1,1 +1,1 @@
-/trunk:1-198013
+/trunk:1-198069
Modified: team/group/issue14068/main/file.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/issue14068/main/file.c?view=diff&rev=198070&r1=198069&r2=198070
==============================================================================
--- team/group/issue14068/main/file.c (original)
+++ team/group/issue14068/main/file.c Fri May 29 13:56:38 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