(closes issue #11448, reported and patched by jaroth)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90670
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (vmu)
free_user(vmu);
if (vms.deleted)
- free(vms.deleted);
+ ast_free(vms.deleted);
if (vms.heard)
- free(vms.heard);
+ ast_free(vms.heard);
return res;
}
static void mwi_sub_destroy(struct mwi_sub *mwi_sub)
{
- free(mwi_sub);
+ ast_free(mwi_sub);
}
static void mwi_unsub_event_cb(const struct ast_event *event, void *userdata)