mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 12:07:05 +08:00
FIX: Coverity, CID #121346, resouce leak, close filehandle.
This commit is contained in:
parent
f7c30d806c
commit
628d1cb085
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue