Merge pull request #3289 from ethomson/warnings4

iterator_walk: cast away constness for free
This commit is contained in:
Carlos Martín Nieto 2015-07-03 00:38:33 +02:00
commit 99090a8522

View File

@ -1921,8 +1921,8 @@ int git_iterator_walk(
}
done:
git__free(iterator_item);
git__free(cur_items);
git__free((git_index_entry **)iterator_item);
git__free((git_index_entry **)cur_items);
if (error == GIT_ITEROVER)
error = 0;