aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-submodule-nested-repo-config.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-09-24 18:02:27 -0400
committerJunio C Hamano <gitster@pobox.com>2024-09-25 10:24:55 -0700
commit75f4acc98125a9e9f5b3051c0dc6690839830e25 (patch)
tree92983bfc3a2c5cb6dba8146a32cef1401b2bd790 /t/helper/test-submodule-nested-repo-config.c
parenthttp: call git_inflate_end() when releasing http_object_request (diff)
downloadgit-75f4acc98125a9e9f5b3051c0dc6690839830e25.tar.gz
git-75f4acc98125a9e9f5b3051c0dc6690839830e25.zip
http: stop leaking buffer in http_get_info_packs()
We use http_get_strbuf() to fetch the remote info/packs content into a strbuf, but never free it, causing a leak. There's no need to hold onto it, as we've already parsed it completely. This lets us mark t5619 as leak-free. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule-nested-repo-config.c')
0 files changed, 0 insertions, 0 deletions