diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-12-03 21:24:56 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-12-03 21:24:56 +0000 |
commit | 9c2b82c726884acd1d54f5747a20e95a4efc7e51 (patch) | |
tree | a28c0da278aa2a854f5043a4d273a89aa5bbd13a /apps/app_voicemail.c | |
parent | 8bfdea316036a2fd095161152aaf107bab30e572 (diff) |
Replacing some calls to free() with ast_free().
(closes issue #11448, reported and patched by jaroth)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f870a0bc5..542301c04 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -7356,9 +7356,9 @@ out: 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; } @@ -7803,7 +7803,7 @@ static void *mb_poll_thread(void *data) 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) |