dect
/
asterisk
Archived
13
0
Fork 0

Replacing some calls to free() with ast_free().

(closes issue #11448, reported and patched by jaroth)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90670 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2007-12-03 21:24:56 +00:00
parent 7c209702a8
commit 893a67e791
1 changed files with 3 additions and 3 deletions

View File

@ -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)