summaryrefslogtreecommitdiffstats
path: root/unix-socket.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2025-10-29 15:10:31 -0400
committerJunio C Hamano <gitster@pobox.com>2025-10-29 12:36:10 -0700
commit85333aa1af6ebd609bf564a0ecae0b17c6388546 (patch)
treef81872ed4601c6a357d941fab21bec4bd9d52339 /unix-socket.c
parentMerge branch 'maint-2.47' into maint-2.48 (diff)
downloadgit-85333aa1af6ebd609bf564a0ecae0b17c6388546.tar.gz
git-85333aa1af6ebd609bf564a0ecae0b17c6388546.zip
test-tool: fix leak in delete-gpgsig command
We read the input into a strbuf, so we must free it. Without this, t1016 complains in SANITIZE=leak mode. The bug was introduced in 7673ecd2dc (t1016-compatObjectFormat: add tests to verify the conversion between objects, 2023-10-01). But nobody seems to have noticed, probably because CI did not run these tests until the fix in 6cd8369ef3 (t/lib-gpg: call prepare_gnupghome() in GPG2 prereq, 2024-07-03). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unix-socket.c')
0 files changed, 0 insertions, 0 deletions