iterator_walk: cast away constness for free

This commit is contained in:
Edward Thomson 2015-07-02 10:36:15 -05:00
parent eb94199fe4
commit dd6b24b19a

View File

@ -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;