mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 15:00:04 +00:00
tests: fix a memory leak
This commit is contained in:
parent
8bba3c95b8
commit
00e161b977
@ -124,4 +124,6 @@ void test_reset_soft__fails_when_merging(void)
|
||||
|
||||
cl_assert_equal_i(GIT_EUNMERGED, git_reset(repo, target, GIT_RESET_SOFT));
|
||||
cl_git_pass(p_unlink(git_buf_cstr(&merge_head_path)));
|
||||
|
||||
git_buf_free(&merge_head_path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user