[asterisk-commits] rmudgett: branch 10 r352992 - /branches/10/tests/test_format_api.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 27 13:32:21 CST 2012


Author: rmudgett
Date: Fri Jan 27 13:32:20 2012
New Revision: 352992

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=352992
Log:
Audit of ao2_iterator_init() usage for v10.

Fix double format_cap iterator cleanup.

Modified:
    branches/10/tests/test_format_api.c

Modified: branches/10/tests/test_format_api.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/tests/test_format_api.c?view=diff&rev=352992&r1=352991&r2=352992
==============================================================================
--- branches/10/tests/test_format_api.c (original)
+++ branches/10/tests/test_format_api.c Fri Jan 27 13:32:20 2012
@@ -575,7 +575,6 @@
 		if (!video || !audio || !text || !image) {
 			ast_test_status_update(test, "failed to add all\n");
 			res = AST_TEST_FAIL;
-			ast_format_cap_iter_end(cap_joint);
 			goto test3_cleanup;
 		}
 	}




More information about the asterisk-commits mailing list