free card applications when erasing card
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3817 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
3603a22917
commit
81cc9d605f
@ -266,6 +266,7 @@ cosm_erase_card(struct sc_profile *profile, struct sc_card *card)
|
||||
sc_file_free(dir);
|
||||
}
|
||||
|
||||
sc_free_apps(card);
|
||||
done:
|
||||
sc_keycache_forget_key(NULL, -1, -1);
|
||||
sc_ctx_suppress_errors_off(card->ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user