Small memory leak fix
This commit is contained in:
parent
1c4a01d766
commit
49788678fe
|
@ -123,6 +123,7 @@ int main(int argc, char *argv[])
|
||||||
/* Keep card locked to prevent useless calls to sc_logout */
|
/* Keep card locked to prevent useless calls to sc_logout */
|
||||||
if (i) {
|
if (i) {
|
||||||
fprintf(stderr, "failed: %s\n", sc_strerror(i));
|
fprintf(stderr, "failed: %s\n", sc_strerror(i));
|
||||||
|
sc_test_cleanup();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("found.\n");
|
printf("found.\n");
|
||||||
|
|
Loading…
Reference in New Issue