Commit 0c34767e68977f53698e48dbb399e7a6c7c5d2dd

Edward Thomson 2021-07-30T10:31:16

Merge pull request #5957 from lhchavez/fix-master-build Fix one memory leak in master

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/refs/branches/upstream.c b/tests/refs/branches/upstream.c
index c94afe9..919705e 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)