diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-01-27 19:33:49 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-01-27 19:33:49 +0000 |
commit | f2c2d83c92f8de8c56109c25ab5a020be7148875 (patch) | |
tree | f4b289e9452ac5ca465ef9a8768a4251188352c8 | |
parent | 8a401484daeeeb4d74b107048c0cd33dc579f471 (diff) |
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
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | tests/test_format_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_format_api.c b/tests/test_format_api.c index b5140919e..c429e0895 100644 --- a/tests/test_format_api.c +++ b/tests/test_format_api.c @@ -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; } } |