(closes issue #16219)
Reported by: aragon
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@229669
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
audiohook->source, old_chan->name, old_chan, new_chan->name, new_chan);
}
}
- ast_free(datastore);
return;
}
while ((inheritable_audiohook = AST_LIST_REMOVE_HEAD(&audiohook_inheritance_datastore->allowed_list, list))) {
ast_free(inheritable_audiohook);
}
+
+ ast_free(audiohook_inheritance_datastore);
}
/*! \brief create an audiohook_inheritance_datastore and attach it to a channel