Commit e3298a33 by Patrick Steinhardt Committed by GitHub

Merge pull request #3973 from pks-t/pks/memleak-fixes

Trivial memory leak fixes in test suite
parents 67dd3140 30a876cd
......@@ -404,4 +404,6 @@ void test_core_vector__reverse(void)
for (i = 0; i < 5; i++)
cl_assert_equal_p(out2[i], git_vector_get(&v, i));
git_vector_free(&v);
}
......@@ -126,6 +126,8 @@ void test_online_fetchhead__explicit_dst_refspec_creates_branch(void)
cl_git_pass(git_branch_lookup(&ref, g_repo, "explicit-refspec", GIT_BRANCH_ALL));
cl_assert_equal_i(refs + 1, count_references());
git_reference_free(ref);
}
void test_online_fetchhead__empty_dst_refspec_creates_no_branch(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment