aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
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 2128298c6..916a141ae 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -806,6 +806,7 @@ cmd_readkey (assuan_context_t ctx, char *line)
if (!pkadv)
{
rc = gpg_error_from_syserror ();
+ gcry_sexp_release (s_key);
goto leave;
}
log_assert (pkadvlen);