[asterisk-commits] dvossel: trunk r228268 - /trunk/funcs/func_audiohookinherit.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 6 09:04:30 CST 2009
Author: dvossel
Date: Fri Nov 6 09:04:24 2009
New Revision: 228268
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228268
Log:
fixes memory leak in func_audiohookinherit.c
(closes issue #15394)
Reported by: boroda
Patches:
bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
Tested by: dbrooks, boroda
Modified:
trunk/funcs/func_audiohookinherit.c
Modified: trunk/funcs/func_audiohookinherit.c
URL: http://svnview.digium.com/svn/asterisk/trunk/funcs/func_audiohookinherit.c?view=diff&rev=228268&r1=228267&r2=228268
==============================================================================
--- trunk/funcs/func_audiohookinherit.c (original)
+++ trunk/funcs/func_audiohookinherit.c Fri Nov 6 09:04:24 2009
@@ -126,6 +126,7 @@
ast_debug(3, "Moved audiohook %s from %s(%p) to %s(%p)\n",
audiohook->source, old_chan->name, old_chan, new_chan->name, new_chan);
}
+ ast_free(datastore);
return;
}
More information about the asterisk-commits
mailing list