mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 09:18:00 +00:00
iterator_walk: cast away constness for free
This commit is contained in:
parent
eb94199fe4
commit
dd6b24b19a
@ -1921,8 +1921,8 @@ int git_iterator_walk(
|
|||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
git__free(iterator_item);
|
git__free((git_index_entry **)iterator_item);
|
||||||
git__free(cur_items);
|
git__free((git_index_entry **)cur_items);
|
||||||
|
|
||||||
if (error == GIT_ITEROVER)
|
if (error == GIT_ITEROVER)
|
||||||
error = 0;
|
error = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user