fixed memory leak

This commit is contained in:
Frank Morgner 2018-06-19 23:15:29 +02:00
parent 63ed8d7368
commit d8cdf66d3d
1 changed files with 1 additions and 1 deletions

View File

@ -2137,7 +2137,7 @@ static int coolkey_initialize(sc_card_t *card)
/* Select a coolkey read the coolkey objects out */
r = coolkey_select_applet(card);
if (r < 0) {
return r;
goto cleanup;
}
priv->protocol_version_major = life_cycle.protocol_version_major;