Audit of ao2_iterator_init() usage for v10.

Fix double format_cap iterator cleanup.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@352992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Richard Mudgett 14 years ago
parent 0240c7fa50
commit 1c526d3a72

@ -575,7 +575,6 @@ static int container_test1_helper(struct ast_format_cap *cap1, struct ast_format
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;
}
}

Loading…
Cancel
Save