FIX: mem leaks

FIX: 'hf mf nested' - params
This commit is contained in:
iceman1001
2019-02-20 22:29:39 +01:00
parent 956899b839
commit 06ade9970a
6 changed files with 23 additions and 15 deletions

View File

@@ -685,6 +685,9 @@ static bool readKeyFile(uint8_t key[8]) {
sprintf(filename, "%s.bin", "client/loclass/iclass_key");
}
if ( filename == NULL )
return retval;
FILE *f = fopen(filename, "rb");
if (!f)
return retval;