Commit 3dc0207b by Sascha Cunz

revwalk-test: Don't leak the second repository

parent 9d8fa537
...@@ -15,6 +15,9 @@ void test_revwalk_mergebase__cleanup(void) ...@@ -15,6 +15,9 @@ void test_revwalk_mergebase__cleanup(void)
{ {
git_repository_free(_repo); git_repository_free(_repo);
_repo = NULL; _repo = NULL;
git_repository_free(_repo2);
_repo2 = NULL;
} }
void test_revwalk_mergebase__single1(void) void test_revwalk_mergebase__single1(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