[svn-commits] mmichelson: branch group/CCSS r217329 - /team/group/CCSS/main/ccss.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Sep 8 18:20:14 CDT 2009


Author: mmichelson
Date: Tue Sep  8 18:20:12 2009
New Revision: 217329

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217329
Log:
Make sure agent's interface tree is unreffed at destruction.


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

Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=217329&r1=217328&r2=217329
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Sep  8 18:20:12 2009
@@ -761,6 +761,8 @@
 		agent_pvt->sub = ast_event_unsubscribe(agent_pvt->sub);
 	}
 
+	ao2_ref(agent->interface_tree, -1);
+
 	ast_free(agent_pvt);
 }
 




More information about the svn-commits mailing list