diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 15:04:24 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 15:04:24 +0000 |
commit | cfdf82e3688225c8bb65f233867e659d14775680 (patch) | |
tree | 9f3e92c4a0665b71dcb11eea6418ffff94b9f125 /funcs | |
parent | 33257415277995f6e51ed135bc63d7bc46ef2962 (diff) |
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/trunk@228268 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_audiohookinherit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/funcs/func_audiohookinherit.c b/funcs/func_audiohookinherit.c index 7f623693d..74f89b9a3 100644 --- a/funcs/func_audiohookinherit.c +++ b/funcs/func_audiohookinherit.c @@ -126,6 +126,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; } |