X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a7e7cd419a820f5208c4920b4fd3ebd7222e5db3..bcf61bd34ab2747580aabf648093e5854b7283ed:/client/cmdhfmf.c diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 1b815326..676a8884 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1592,6 +1592,7 @@ int CmdHF14AMfCLoad(const char *Cmd) memset(buf, 0, sizeof(buf)); if (fgets(buf, sizeof(buf), f) == NULL) { + fclose(f); PrintAndLog("File reading error."); fclose(f); return 2;