[asterisk-commits] russell: branch russell/chan_refcount r82353 - /team/russell/chan_refcount/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 13 16:55:06 CDT 2007


Author: russell
Date: Thu Sep 13 16:55:06 2007
New Revision: 82353

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82353
Log:
destroy the channel iterator

Modified:
    team/russell/chan_refcount/res/res_features.c

Modified: team/russell/chan_refcount/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_refcount/res/res_features.c?view=diff&rev=82353&r1=82352&r2=82353
==============================================================================
--- team/russell/chan_refcount/res/res_features.c (original)
+++ team/russell/chan_refcount/res/res_features.c Thu Sep 13 16:55:06 2007
@@ -2776,6 +2776,8 @@
 		ast_channel_unlock(cur);
 		ast_channel_unref(cur);
 	}
+
+	iter = ast_channel_iterator_destroy(iter);
 
 	if (cur) {
 		ast_debug(1, "Call pickup on chan '%s' by '%s'\n",cur->name, chan->name);




More information about the asterisk-commits mailing list