X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f7c30d806c392836885807d8c28be58c82d27c10..628d1cb085d2f3eecf75e845fbee3d054e9b4cb5:/client/cmdhficlass.c diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 047bf137..8235ed22 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -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