diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-26 18:59:53 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-26 19:00:33 +0200 |
commit | 24fa21f38e15b0c929cafb0c072e47708f18d663 (patch) | |
tree | 03213e28bf9fe50d2d93b9091c18a18bbe1dde62 /src/iterator.c | |
parent | afd8a94ee754ff1f1aae20ff9174f1e3c8b9c7fe (diff) | |
download | libgit2-leaks.tar.gz |
index, iterator, fetchhead: plug leaksleaks
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 3 |
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; |