diff options
author | Brandon Casey <drafnel@gmail.com> | 2010-09-26 21:49:13 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-27 11:41:25 -0700 |
commit | b822423ed20df158a478c9522373bffb04fa5ecc (patch) | |
tree | c86f2aecb2520a4ec4147829ad4ebe919f8b265e /t/t9152-svn-empty-dirs-after-gc.sh | |
parent | t6050 (replace): fix bogus "fetch branch with replacement" test (diff) | |
download | tgif-b822423ed20df158a478c9522373bffb04fa5ecc.tar.xz |
wt-status.c: don't leak directory entries when processing untracked,ignored
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>
Diffstat (limited to 't/t9152-svn-empty-dirs-after-gc.sh')
0 files changed, 0 insertions, 0 deletions