]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
Adjustments after the big merge from PM3 master.
[proxmark3-svn] / client / cmdhfmf.c
index 1b815326e13e26f611a169a059702193455f9b83..676a8884c863f30ffbcae7d1a63adead2d1036f8 100644 (file)
@@ -1592,6 +1592,7 @@ int CmdHF14AMfCLoad(const char *Cmd)
                        memset(buf, 0, sizeof(buf));\r
                        \r
                        if (fgets(buf, sizeof(buf), f) == NULL) {\r
+                               fclose(f);\r
                                PrintAndLog("File reading error.");\r
                                fclose(f);\r
                                return 2;\r
Impressum, Datenschutz