aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.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 /scd/command.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 'scd/command.c')
-rw-r--r--scd/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/command.c b/scd/command.c
index b0a639dde..70665d07d 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -874,6 +874,7 @@ cmd_readkey (assuan_context_t ctx, char *line)
gcry_sexp_release (s_key);
if (!err)
err = assuan_send_data (ctx, buf, buflen);
+ es_free (buf);
}
else if (advanced)
{