diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-09-07 17:51:24 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-09-07 17:51:24 +0200 |
commit | e839efbe2468905d82ffb717c225a738de6f192c (patch) | |
tree | eb99fc02f7d20f91a3d13246ff38b226065f9954 | |
parent | 32e49929725a76d9871038f30e2ea67fe0e4a4f8 (diff) | |
download | libgit2-e839efbe2468905d82ffb717c225a738de6f192c.tar.gz |
tests: Fix memory leaks
-rw-r--r-- | tests-clar/network/remote/local.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/network/remote/local.c b/tests-clar/network/remote/local.c index 79eb73c5a..c8edd37f5 100644 --- a/tests-clar/network/remote/local.c +++ b/tests-clar/network/remote/local.c @@ -201,6 +201,7 @@ void test_network_remote_local__push_to_bare_remote(void) cl_assert(git_push_unpack_ok(push)); /* Clean up */ + git_push_free(push); git_remote_free(localremote); cl_fixture_cleanup("localbare.git"); } @@ -236,6 +237,7 @@ void test_network_remote_local__push_to_non_bare_remote(void) cl_assert_equal_i(0, git_push_unpack_ok(push)); /* Clean up */ + git_push_free(push); git_remote_free(localremote); cl_fixture_cleanup("localbare.git"); } |