mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 16:56:53 +00:00
Checkout: fix memory leak in tests.
This commit is contained in:
parent
aa549d323e
commit
eb87800ab6
@ -152,6 +152,8 @@ void test_checkout_checkout__dir_modes(void)
|
||||
/* File-mode test, since we're on the 'dir' branch */
|
||||
cl_git_pass(p_stat("./testrepo/a/b.txt", &st));
|
||||
cl_assert_equal_i(st.st_mode & 0777, 0755);
|
||||
|
||||
git_reference_free(ref);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user