[asterisk-commits] rmudgett: trunk r352996 - in /trunk: ./ tests/test_format_api.c

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


Author: rmudgett
Date: Fri Jan 27 13:33:49 2012
New Revision: 352996

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

Fix double format_cap iterator cleanup.
........

Merged revisions 352992 from http://svn.asterisk.org/svn/asterisk/branches/10

Modified:
    trunk/   (props changed)
    trunk/tests/test_format_api.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/tests/test_format_api.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_format_api.c?view=diff&rev=352996&r1=352995&r2=352996
==============================================================================
--- trunk/tests/test_format_api.c (original)
+++ trunk/tests/test_format_api.c Fri Jan 27 13:33:49 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