diff options
author | Vicent Martà <vicent@github.com> | 2013-09-07 09:18:56 -0700 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-09-07 09:18:56 -0700 |
commit | ef6389ad504037e7a4311adbf14f1fa5a5aa4190 (patch) | |
tree | eb5eaa13174dc0cc442406754e3405b073c1466a | |
parent | ae49719a3bb25eef1efa13b9fb274057c057abde (diff) | |
parent | e839efbe2468905d82ffb717c225a738de6f192c (diff) | |
download | libgit2-ef6389ad504037e7a4311adbf14f1fa5a5aa4190.tar.gz |
Merge pull request #1836 from libgit2/ntk/fix/leaks
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"); } |