aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-09 22:34:04 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-09 22:34:04 +0000
commitc46e630c223fc52addcf43663738899b036814b7 (patch)
tree99586683fd271f92eb6a7c62d0cfed617b6432d0 /apps/app_queue.c
parent007c9c7b8c3f303993ebae55941279334c627cb7 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@113982 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 1c637574a..37c94f76f 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));