[asterisk-commits] mmichelson: trunk r113980 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 9 17:32:32 CDT 2008


Author: mmichelson
Date: Wed Apr  9 17:32:32 2008
New Revision: 113980

URL: http://svn.digium.com/view/asterisk?view=rev&rev=113980
Log:
Fix a crash that happened due to accessing free'd memory


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=113980&r1=113979&r2=113980
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Apr  9 17:32:32 2008
@@ -1519,7 +1519,6 @@
 			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));




More information about the asterisk-commits mailing list