fixed 333711 Dereference before null check

This commit is contained in:
Frank Morgner 2019-03-06 00:13:52 +01:00
parent b1a58c7925
commit e876cf62eb
1 changed files with 1 additions and 2 deletions

View File

@ -587,8 +587,7 @@ end:
sc_unlock(card);
sc_disconnect_card(card);
}
if (ctx)
sc_release_context(ctx);
sc_release_context(ctx);
ERR_print_errors_fp(stderr);
return err;