summaryrefslogtreecommitdiff
path: root/src/iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterator.c')
-rw-r--r--src/iterator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iterator.c b/src/iterator.c
index 45eba3955..949949388 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -1926,6 +1926,9 @@ int git_iterator_walk(
}
done:
+ git__free(iterator_item);
+ git__free(cur_items);
+
if (error == GIT_ITEROVER)
error = 0;