From 3dd87d6d7762b5ad2138775cb1b1e274872cae2f Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 9 Apr 2008 22:34:04 +0000 Subject: [PATCH] Merged revisions 113980 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r113980 | mmichelson | 2008-04-09 17:32:32 -0500 (Wed, 09 Apr 2008) | 8 lines 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/branches/1.6.0@113982 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 1c637574a9..37c94f76f8 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1512,7 +1512,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));