aboutsummaryrefslogtreecommitdiffstats
path: root/g10/apdu.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-03-05 15:13:18 +0000
committerWerner Koch <[email protected]>2006-03-05 15:13:18 +0000
commit09203be1c6619a3dc8ab862f634b1477f7e0bf55 (patch)
tree6e2fe4ebfaef9ccdc6434dd22ae94e283852fae9 /g10/apdu.c
parent* gpgkeys_ldap.c (main): Fix build problem with non-OpenLDAP LDAP (diff)
downloadgnupg-09203be1c6619a3dc8ab862f634b1477f7e0bf55.tar.gz
gnupg-09203be1c6619a3dc8ab862f634b1477f7e0bf55.zip
Replaced an assert and fixed batch mode issue in cardglue.
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,