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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 21 14:30:06 CST 2007


Author: mmichelson
Date: Fri Dec 21 14:30:05 2007
New Revision: 94547

URL: http://svn.digium.com/view/asterisk?view=rev&rev=94547
Log:
Fix a memory leak when reloading queue rules.


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=94547&r1=94546&r2=94547
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Dec 21 14:30:05 2007
@@ -4762,6 +4762,8 @@
 		AST_LIST_UNLOCK(&rule_lists);
 	}
 
+	ast_config_destroy(cfg);
+
 	return AST_MODULE_LOAD_SUCCESS;
 }
 




More information about the asterisk-commits mailing list