Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-09-26 11:37:29 +0300
committerJunio C Hamano <gitster@pobox.com>2020-09-27 01:39:49 +0300
commit5336d5069626a9e06e224cbc1730ee96c5742108 (patch)
treef53b08900182764557b36756b90ab224db3499e0 /connected.c
parentb59cdffd7e3d791ee289ebb46d7109ad3d51d7ea (diff)
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 'connected.c')
0 files changed, 0 insertions, 0 deletions