diff options
author | lhchavez <lhchavez@lhchavez.com> | 2021-07-30 07:18:57 -0700 |
---|---|---|
committer | lhchavez <lhchavez@lhchavez.com> | 2021-07-30 07:18:57 -0700 |
commit | d15b6132a6453d696b37c884765572a696e7af06 (patch) | |
tree | ffba385f15cfc6c8fa54a7638db7f836a99fe262 | |
parent | cc68c19a3a6f025d94e332e856f43ab438dfbf08 (diff) | |
download | libgit2-d15b6132a6453d696b37c884765572a696e7af06.tar.gz |
Fix one memory leak in master
There was one test that wasn't correctly disposing of the repository.
-rw-r--r-- | tests/refs/branches/upstream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/refs/branches/upstream.c b/tests/refs/branches/upstream.c index c94afe9e8..919705e07 100644 --- a/tests/refs/branches/upstream.c +++ b/tests/refs/branches/upstream.c @@ -92,6 +92,8 @@ void test_refs_branches_upstream__upstream_merge(void) cl_git_pass(git_branch_upstream_merge(&buf, repository, "refs/heads/test")); cl_assert_equal_s("refs/heads/master", buf.ptr); git_buf_dispose(&buf); + + cl_git_sandbox_cleanup(); } void test_refs_branches_upstream__upstream_remote_empty_value(void) |