diff options
author | Jeff King <peff@peff.net> | 2024-09-24 18:09:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-25 10:24:57 -0700 |
commit | a1528093babd4c10415ece172235deb287ca7139 (patch) | |
tree | b0c3e04d360381e0b859fcb08464a496dd52b09a /compat/regex/regexec.c | |
parent | 94c62857808bdd6b5b061284eb9dfd13204bd11a (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