FIX: Coverity, CID #121346, resouce leak, close filehandle.

This commit is contained in:
iceman1001 2016-01-12 23:06:53 +01:00
parent f7c30d806c
commit 628d1cb085

View file

@ -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