Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b656e5e

Browse files
committed
merge: Fix memory leak in test
1 parent 8519623 commit b656e5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/revwalk/mergebase.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,5 +509,6 @@ void test_revwalk_mergebase__remove_redundant(void)
509509
cl_assert_equal_i(1, result.count);
510510
cl_assert_equal_oid(&base, &result.ids[0]);
511511

512+
git_oidarray_free(&result);
512513
git_repository_free(repo);
513514
}

0 commit comments

Comments
 (0)