From 9b06633c811e8815c07d744f20b45405cb082367 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 26 Jan 2017 19:32:51 +0900 Subject: scd: Fix APP reference counting. * scd/app.c (scd_update_reader_status_file): Don't call another release_application_internal. * scd/command.c (open_card_with_request): Don't require APPTYPE != NULL. Signed-off-by: NIIBE Yutaka --- scd/app.c | 1 - 1 file changed, 1 deletion(-) (limited to 'scd/app.c') diff --git a/scd/app.c b/scd/app.c index 88a38010d..b10a452d6 100644 --- a/scd/app.c +++ b/scd/app.c @@ -1049,7 +1049,6 @@ scd_update_reader_status_file (void) { log_debug ("Removal of a card: %d\n", a->slot); apdu_close_reader (a->slot); - release_application_internal (a); deallocate_app (a); } else -- cgit v1.2.3