aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-wks-client.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-09-02 04:31:33 +0000
committerNIIBE Yutaka <[email protected]>2025-09-02 04:31:33 +0000
commit1b84d649eacf87ff16289c86939a4846a0d26c12 (patch)
treee0a8e5686a51576fc7307757c2e84bb266e7462d /tools/gpg-wks-client.c
parentagent: Minor clean-up for use of es_free. (diff)
downloadgnupg-1b84d649eacf87ff16289c86939a4846a0d26c12.tar.gz
gnupg-1b84d649eacf87ff16289c86939a4846a0d26c12.zip
dirmngr,gpg,scd,sm,tools: Minor fixes for es_free.
* dirmngr/crlfetch.c (fetch_cert_by_url): Use es_free. * g10/revoke.c (gen_standard_revoke): Likewise. * g10/tofu.c (ask_about_binding): Likewise. * scd/command.c (cmd_readkey): Likewise. * sm/sign.c (gpgsm_sign): Likewise. * tools/gpg-wks-client.c (command_create): Likewise. * tools/call-dirmngr.c (wkd_get_policy_flags): Clean up no use of BUFFER. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tools/gpg-wks-client.c')
-rw-r--r--tools/gpg-wks-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c
index 2d037faef..14854ac15 100644
--- a/tools/gpg-wks-client.c
+++ b/tools/gpg-wks-client.c
@@ -1453,7 +1453,7 @@ command_create (const char *fingerprint, const char *userid)
}
key = NULL;
err = mime_maker_add_body_data (mime, data, datalen);
- xfree (data);
+ es_free (data);
if (err)
goto leave;
}