]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfhitag.c
ADD: midnitesnakes desfire, ultralight changes from Unstable branch.
[proxmark3-svn] / client / cmdlfhitag.c
index 6d1cb87d49aa64cd60dd581035d53ee7167dfef0..74578eea7f6de289b35b7d20d8086340c0ecddc7 100644 (file)
@@ -159,6 +159,7 @@ int CmdLFHitagSim(const char *Cmd) {
                tag_mem_supplied = true;
                if (fread(c.d.asBytes,48,1,pf) == 0) {
             PrintAndLog("Error: File reading error");
+      fclose(pf);
                        return 1;
          }
                fclose(pf);
Impressum, Datenschutz