]> git.proxmox.com Git - libgit2.git/commitdiff
revwalk-test: Don't leak the second repository
authorSascha Cunz <Sascha@BabbelBox.org>
Wed, 19 Dec 2012 04:21:11 +0000 (05:21 +0100)
committerSascha Cunz <Sascha@BabbelBox.org>
Wed, 19 Dec 2012 04:22:46 +0000 (05:22 +0100)
tests-clar/revwalk/mergebase.c

index 9707d42cab9c2d20484732756985477b9782515d..4faf6156fc1c5a932c398646de799ec32fd401b2 100644 (file)
@@ -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)