diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 15:07:31 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-06 15:07:31 +0000 |
commit | 6f9daf9fefa4014090c3bd0c58134ead9be9cf29 (patch) | |
tree | ebc2ed55f732ea43619185553d2fce9975342b49 /funcs | |
parent | 33764ac954e9847ef596dd81acd8f11ddc86c71e (diff) |
fixes memory leak in func_audiohookinherit.c
(closes issue 0015394)
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.4@228272 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 6936864e3..3a5c1763c 100644 --- a/funcs/func_audiohookinherit.c +++ b/funcs/func_audiohookinherit.c @@ -77,6 +77,7 @@ static void audiohook_inheritance_fixup(void *data, struct ast_channel *old_chan audiohook->source, old_chan->name, old_chan, new_chan->name, new_chan); } } + ast_free(datastore); return; } |