diff options
author | Sascha Cunz <Sascha@BabbelBox.org> | 2012-12-19 08:21:11 +0400 |
---|---|---|
committer | Sascha Cunz <Sascha@BabbelBox.org> | 2012-12-19 08:22:46 +0400 |
commit | 3dc0207bc07b6214d395812c0cef0d785cafa071 (patch) | |
tree | 39128de66afa9e6d2a9509f795160e6a18bb9480 /tests-clar/revwalk | |
parent | 9d8fa5379942e6dded14a9df053a69ebba136056 (diff) |
revwalk-test: Don't leak the second repository
Diffstat (limited to 'tests-clar/revwalk')
-rw-r--r-- | tests-clar/revwalk/mergebase.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests-clar/revwalk/mergebase.c b/tests-clar/revwalk/mergebase.c index 9707d42ca..4faf6156f 100644 --- a/tests-clar/revwalk/mergebase.c +++ b/tests-clar/revwalk/mergebase.c @@ -15,6 +15,9 @@ void test_revwalk_mergebase__cleanup(void) { git_repository_free(_repo); _repo = NULL; + + git_repository_free(_repo2); + _repo2 = NULL; } void test_revwalk_mergebase__single1(void) |