aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-06 15:05:47 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-06 15:05:47 +0000
commitf7822f934b78f8282f273a42710ef480452f3878 (patch)
tree56733973b28fc06fb23e06f26fde06064c10a4bf
parent58d5cdaf491a9f0211dee883a4b58546e8a5f08b (diff)
Merged revisions 228268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r228268 | dvossel | 2009-11-06 09:04:24 -0600 (Fri, 06 Nov 2009) | 9 lines 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 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@228270 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--funcs/func_audiohookinherit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/funcs/func_audiohookinherit.c b/funcs/func_audiohookinherit.c
index 7b4b1a7e9..9492d2832 100644
--- a/funcs/func_audiohookinherit.c
+++ b/funcs/func_audiohookinherit.c
@@ -74,6 +74,7 @@ static void audiohook_inheritance_fixup(void *data, struct ast_channel *old_chan
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;
}