[asterisk-commits] mmichelson: branch group/CCSS r220673 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 28 10:36:20 CDT 2009


Author: mmichelson
Date: Mon Sep 28 10:36:15 2009
New Revision: 220673

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220673
Log:
Fix memory leak during agent destruction.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=220673&r1=220672&r2=220673
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Mon Sep 28 10:36:15 2009
@@ -641,6 +641,7 @@
 static void agent_destroy(struct ast_cc_agent *agent) {
 	agent->callbacks->destructor(agent);
 	agent->interface_tree = cc_unref(agent->interface_tree, "Destroying agent, removing ref to interface tree");
+	ast_cc_config_params_destroy(agent->cc_params);
 	ast_free(agent);
 }
 




More information about the asterisk-commits mailing list