CHG: "hf mf hardnested" - less printing

CHG: some filehandles = NULL.
This commit is contained in:
iceman1001
2016-10-21 16:06:53 +02:00
parent 3c528f5fda
commit 2dcf60f3df
15 changed files with 112 additions and 61 deletions

View File

@@ -748,7 +748,10 @@ int readKeyFile(uint8_t key[8])
if ( bytes_read == 1) {
retval = 0;
}
fclose(f);
if (f) {
fclose(f);
f = NULL;
}
return retval;
}