diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-04-09 22:32:32 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-04-09 22:32:32 +0000 |
commit | 9bd9421c835c94718c05e07adce3c084cb8fb518 (patch) | |
tree | b3137fd29e6d52d60820f263de7200f0d2341615 /apps/app_queue.c | |
parent | 88cc98ea94200f55d81056cde260b6b7ac3b1da9 (diff) |
Fix a crash that happened due to accessing free'd memory
(closes issue #12396)
Reported by: tcalosi
Patches:
12396.patch uploaded by putnopvut (license 60)
Tested by: tcalosi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@113980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 07d54cfc8..7f01445df 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1519,7 +1519,6 @@ static struct call_queue *find_queue_by_name_rt(const char *queuename, struct as q->strategy = QUEUE_STRATEGY_RINGALL; init_queue(q); /* Ensure defaults for all parameters not set explicitly. */ ao2_link(queues, q); - ast_variables_destroy(tmpvar); } memset(tmpbuf, 0, sizeof(tmpbuf)); |