[svn-commits] russell: branch 1.6.2 r275311 - in /branches/1.6.2: ./ main/features.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 9 14:59:12 CDT 2010


Author: russell
Date: Fri Jul  9 14:59:08 2010
New Revision: 275311

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=275311
Log:
Merged revisions 275310 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r275310 | russell | 2010-07-09 14:58:06 -0500 (Fri, 09 Jul 2010) | 2 lines
  
  Add missing ao2_iterator_destroy().
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/features.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=275311&r1=275310&r2=275311
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Fri Jul  9 14:59:08 2010
@@ -4085,9 +4085,7 @@
 		AST_RWLIST_UNLOCK(&feature_list);
 	}
 
-	// loop through all the parking lots
 	iter = ao2_iterator_init(parkinglots, 0);
-
 	while ((curlot = ao2_iterator_next(&iter))) {
 		ast_cli(a->fd, "\nCall parking (Parking lot: %s)\n", curlot->name);
 		ast_cli(a->fd, "------------\n");
@@ -4097,7 +4095,7 @@
 		ast_cli(a->fd,"\n");
 		ao2_ref(curlot, -1);
 	}
-
+	ao2_iterator_destroy(&iter);
 
 	return CLI_SUCCESS;
 }




More information about the svn-commits mailing list