Browse Source
When iterating through the list of directory entries, searching for untracked entries, only the entries added to the string_list were free'd. The rest (tracked or not matching the pathspec) were leaked. Ditto for the "ignored" loop. Rearrange the loops so that all entries are free'd. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Brandon Casey
15 years ago
committed by
Junio C Hamano
1 changed files with 6 additions and 10 deletions
Loading…
Reference in new issue