FIX: Coverity, CID #121346, resouce leak, close filehandle.
This commit is contained in:
@@ -1048,6 +1048,7 @@ int CmdHFiClassCloneTag(const char *Cmd) {
|
||||
|
||||
if (startblock<5) {
|
||||
PrintAndLog("You cannot write key blocks this way. yet... make your start block > 4");
|
||||
fclose(f);
|
||||
return 0;
|
||||
}
|
||||
// now read data from the file from block 6 --- 19
|
||||
|
||||
Reference in New Issue
Block a user