aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/g10.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 34c8076f6..5dff5768a 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -2980,6 +2980,9 @@ main( int argc, char **argv )
void
g10_exit( int rc )
{
+#ifdef ENABLE_CARD_SUPPORT
+ card_close ();
+#endif
update_random_seed_file();
if( opt.debug & DBG_MEMSTAT_VALUE ) {
m_print_stats("on exit");