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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jan 22 14:43:55 CST 2010


Author: mmichelson
Date: Fri Jan 22 14:43:51 2010
New Revision: 242418

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242418
Log:
Fix a bit of a refleak.


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=242418&r1=242417&r2=242418
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Fri Jan 22 14:43:51 2010
@@ -2929,10 +2929,12 @@
 			/* BOOM! Device is in the tree! We have a winner! */
 			*core_id = recall_data->core_id;
 			AST_LIST_UNLOCK(interface_tree);
+			cc_unref(recall_data->interface_tree, "Found a match in recall tree.");
 			return 1;
 		}
 	}
 	AST_LIST_UNLOCK(interface_tree);
+	cc_unref(recall_data->interface_tree, "No match in recall tree.");
 	return 0;
 }
 




More information about the svn-commits mailing list