diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-04 15:16:03 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-04 15:16:03 +0000 |
commit | 4df981b891255c809dc28eda05abc7f7d27db6d0 (patch) | |
tree | f55a064509589d4c554d108850572d026a2bc54d /apps/app_queue.c | |
parent | 5e8a73939a55636ef83619f4951d857890e38e8a (diff) |
(closes issue #11431)
Reported by: Laureano
Patches:
app_queue.c.patch uploaded by Laureano (license 265)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90854 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 441eab021..a6cf340be 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -729,15 +729,15 @@ static void *device_state_thread(void *data) handle_statechange(sc); - free(sc); + ast_free(sc); sc = NULL; } if (sc) - free(sc); + ast_free(sc); while ((sc = AST_LIST_REMOVE_HEAD(&device_state.state_change_q, entry))) - free(sc); + ast_free(sc); return NULL; } @@ -2829,7 +2829,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce break; } else { ao2_ref(cur, -1); - free(tmp); + ast_free(tmp); } } if (qe->expire && (!qe->parent->timeout || (qe->expire - now) <= qe->parent->timeout)) |