Skip to content
Snippets Groups Projects
Commit a729d9bb authored by David Vossel's avatar David Vossel
Browse files

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: https://origsvn.digium.com/svn/asterisk/trunk@228268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0d1a6d93
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment