- a small bugfix

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@122 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
jey 2001-12-31 13:30:57 +00:00
parent 8368c13f52
commit 74f568b87e

View File

@ -163,8 +163,8 @@ int slot_disconnect(int id)
LOG("Disconnecting from slot %d\n", id);
slot[id].flags = 0;
if (slot[id].p15card != NULL) {
sc_disconnect_card(slot[id].p15card->card);
sc_pkcs15_unbind(slot[id].p15card);
sc_disconnect_card(slot[id].p15card->card);
slot[id].p15card = NULL;
}