aboutsummaryrefslogtreecommitdiffstats
path: root/g10/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/apdu.c')
-rw-r--r--g10/apdu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/apdu.c b/g10/apdu.c
index 5f8c57922..52fdbc723 100644
--- a/g10/apdu.c
+++ b/g10/apdu.c
@@ -1586,6 +1586,7 @@ open_pcsc_reader (const char *portstr)
}
strcpy (reader_table[slot].rdrname, portstr? portstr : list);
xfree (list);
+ list = NULL;
err = pcsc_connect (reader_table[slot].pcsc.context,
reader_table[slot].rdrname,