summaryrefslogtreecommitdiff
path: root/commit-slab-impl.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-09-26 10:37:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-26 15:39:49 -0700
commit5336d5069626a9e06e224cbc1730ee96c5742108 (patch)
treef53b08900182764557b36756b90ab224db3499e0 /commit-slab-impl.h
parentDoc: prefer more specific file name (diff)
downloadtgif-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 'commit-slab-impl.h')
0 files changed, 0 insertions, 0 deletions