summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-07-30 10:31:16 -0400
committerGitHub <noreply@github.com>2021-07-30 10:31:16 -0400
commit0c34767e68977f53698e48dbb399e7a6c7c5d2dd (patch)
treeffba385f15cfc6c8fa54a7638db7f836a99fe262
parentcc68c19a3a6f025d94e332e856f43ab438dfbf08 (diff)
parentd15b6132a6453d696b37c884765572a696e7af06 (diff)
downloadlibgit2-0c34767e68977f53698e48dbb399e7a6c7c5d2dd.tar.gz
Merge pull request #5957 from lhchavez/fix-master-build
Fix one memory leak in master
-rw-r--r--tests/refs/branches/upstream.c2
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)