Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wt-status.c: don't leak directory entries when processing untracked,i…
…gnored 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>
- Loading branch information