mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 23:26:39 +00:00
Merge pull request #3915 from pks-t/pks/index-collision-test-leak
tests: index: do not re-allocate index
This commit is contained in:
commit
40b08124f2
@ -79,8 +79,6 @@ void test_index_collision__add_with_highstage_2(void)
|
|||||||
{
|
{
|
||||||
git_index_entry entry;
|
git_index_entry entry;
|
||||||
|
|
||||||
cl_git_pass(git_repository_index(&g_index, g_repo));
|
|
||||||
|
|
||||||
memset(&entry, 0, sizeof(entry));
|
memset(&entry, 0, sizeof(entry));
|
||||||
entry.ctime.seconds = 12346789;
|
entry.ctime.seconds = 12346789;
|
||||||
entry.mtime.seconds = 12346789;
|
entry.mtime.seconds = 12346789;
|
||||||
|
Loading…
Reference in New Issue
Block a user