[asterisk-commits] file: trunk r40953 - /trunk/main/file.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Aug 23 13:22:19 MST 2006
Author: file
Date: Wed Aug 23 15:22:18 2006
New Revision: 40953
URL: http://svn.digium.com/view/asterisk?rev=40953&view=rev
Log:
Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)
Modified:
trunk/main/file.c
Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?rev=40953&r1=40952&r2=40953&view=diff
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Wed Aug 23 15:22:18 2006
@@ -417,6 +417,7 @@
chan->stream = s;
else
chan->vstream = s;
+ free(fn);
break;
}
switch (action) {
More information about the asterisk-commits
mailing list