diff options
author | René Scharfe <l.s.r@web.de> | 2020-09-26 10:37:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-26 15:39:49 -0700 |
commit | 5336d5069626a9e06e224cbc1730ee96c5742108 (patch) | |
tree | f53b08900182764557b36756b90ab224db3499e0 /t/t3800-mktag.sh | |
parent | Doc: prefer more specific file name (diff) | |
download | tgif-5336d5069626a9e06e224cbc1730ee96c5742108.tar.xz |
ref-filter: plug memory leak in reach_filter()
21bf933928 (ref-filter: allow merged and no-merged filters, 2020-09-15)
added an early return to reach_filter(). Avoid leaking the memory of a
then unused array by postponing its allocation until we know we need it.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3800-mktag.sh')
0 files changed, 0 insertions, 0 deletions