Skip to content

Commit d15b613

Browse files
committed
Fix one memory leak in master
There was one test that wasn't correctly disposing of the repository.
1 parent cc68c19 commit d15b613

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/refs/branches/upstream.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ void test_refs_branches_upstream__upstream_merge(void)
9292
cl_git_pass(git_branch_upstream_merge(&buf, repository, "refs/heads/test"));
9393
cl_assert_equal_s("refs/heads/master", buf.ptr);
9494
git_buf_dispose(&buf);
95+
96+
cl_git_sandbox_cleanup();
9597
}
9698

9799
void test_refs_branches_upstream__upstream_remote_empty_value(void)

0 commit comments

Comments
 (0)