aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-05-14 01:18:50 +0000
committerNIIBE Yutaka <[email protected]>2021-05-14 01:18:50 +0000
commit607713e3dd9518270a44b7a5d93dac0a4bd91b9e (patch)
tree4f45f568b24ee46e37122ce49e66ab52c63647a5
parentscd: Use the thread to monitor PC/SC card status change. (diff)
downloadgnupg-607713e3dd9518270a44b7a5d93dac0a4bd91b9e.tar.gz
gnupg-607713e3dd9518270a44b7a5d93dac0a4bd91b9e.zip
scd: Release the context for pcsc_thred.
* scd/apdu.c (pcsc_thread): Release the CONTEXT. Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--scd/apdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 053a2b12a..fa3a89c34 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -1166,6 +1166,7 @@ pcsc_thread (void *arg)
scd_kick_the_loop ();
}
+ pcsc_release_context (context);
npth_mutex_unlock (&reader_table_lock);
return NULL;
}