mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
(reset_notify): Release the application context and
close the reader.
This commit is contained in:
parent
b11106ebf0
commit
94c03c860e
2 changed files with 8 additions and 2 deletions
|
@ -73,9 +73,10 @@ reset_notify (ASSUAN_CONTEXT ctx)
|
|||
}
|
||||
if (ctrl->app_ctx)
|
||||
{
|
||||
/* FIXME: close the application. */
|
||||
xfree (ctrl->app_ctx);
|
||||
int slot = ctrl->app_ctx->slot;
|
||||
release_application (ctrl->app_ctx);
|
||||
ctrl->app_ctx = NULL;
|
||||
apdu_close_reader (slot);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue