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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 24 16:59:04 CST 2010


Author: mmichelson
Date: Wed Feb 24 16:58:57 2010
New Revision: 248669

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248669
Log:
Ref and unref the proper variables so that astobj2 doesn't yell at us.


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=248669&r1=248668&r2=248669
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Wed Feb 24 16:58:57 2010
@@ -2005,7 +2005,7 @@
 		}
 	}
 
-	cc_ref(cc_interfaces, "Bumping ref in case channel is hung up");
+	cc_ref(cc_interfaces->interface_tree, "Bumping ref in case channel is hung up");
 	ast_channel_unlock(inbound);
 
 	/* Yeah this kind of sucks, but luckily most people
@@ -2052,7 +2052,7 @@
 
 	cc_unref(core_instance, "Done with core_instance after handling CC control frame");
 	cc_unref(monitor, "Unref reference from allocating monitor");
-	cc_unref(cc_interfaces, "Done with cc_interfaces after handling CC control frame.");
+	cc_unref(cc_interfaces->interface_tree, "Done with cc_interfaces after handling CC control frame.");
 }
 
 int ast_cc_call_init(struct ast_channel *chan, int *ignore_cc)




More information about the svn-commits mailing list