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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 3 07:59:39 CDT 2009


Author: mmichelson
Date: Thu Sep  3 07:59:35 2009
New Revision: 215890

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215890
Log:
Fill in destroy_link function.

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=215890&r1=215889&r2=215890
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Sep  3 07:59:35 2009
@@ -941,7 +941,9 @@
 
 static void destroy_link(struct ast_cc_monitor_link *link)
 {
-	/* STUB */
+	ao2_ref(link->child, -1);
+	ao2_ref(link->parent, -1);
+	ast_free(link);
 	return;
 }
 




More information about the asterisk-commits mailing list