mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 15:00:04 +00:00
Plug a leak in the tests
This commit is contained in:
parent
2f6f6ebc99
commit
69a1a6918c
@ -166,4 +166,6 @@ void test_index_filemodes__invalid(void)
|
|||||||
|
|
||||||
entry.mode = GIT_FILEMODE_BLOB;
|
entry.mode = GIT_FILEMODE_BLOB;
|
||||||
cl_git_pass(git_index_add(index, &entry));
|
cl_git_pass(git_index_add(index, &entry));
|
||||||
|
|
||||||
|
git_index_free(index);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user