summaryrefslogtreecommitdiff
path: root/compat/regex/regexec.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-09-24 18:09:37 -0400
committerJunio C Hamano <gitster@pobox.com>2024-09-25 10:24:57 -0700
commita1528093babd4c10415ece172235deb287ca7139 (patch)
treeb0c3e04d360381e0b859fcb08464a496dd52b09a /compat/regex/regexec.c
parent94c62857808bdd6b5b061284eb9dfd13204bd11a (diff)
http-push: free remote_ls_ctx.dentry_name
The remote_ls_ctx struct has dentry_name string, which is filled in with a heap allocation in the handle_remote_ls_ctx() XML callback. After the XML parse is done in remote_ls(), we should free the string to avoid a leak. This fixes several leaks found by running t5540. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions