diff options
| author | Jeff King <peff@peff.net> | 2024-09-24 18:02:27 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-25 10:24:55 -0700 |
| commit | 75f4acc98125a9e9f5b3051c0dc6690839830e25 (patch) | |
| tree | 92983bfc3a2c5cb6dba8146a32cef1401b2bd790 /t/t5550-http-fetch-dumb.sh | |
| parent | 8bdb84ebbbfadf71ae1760e68be5422cbe4872c6 (diff) | |
| download | git-75f4acc98125a9e9f5b3051c0dc6690839830e25.tar.gz | |
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/t5550-http-fetch-dumb.sh')
0 files changed, 0 insertions, 0 deletions
