fix: mem leaks.

This commit is contained in:
iceman1001 committed 2019-02-21 15:34:31 +01:00
1 parent 06ade9970a
commit 91d6836a47
7 files changed
+22 -14

No files matched your search

+1
View File
@@ -1022,6 +1022,7 @@ int CmdLegicRestore(const char *Cmd){
f = fopen(filename,"rb");
if (!f) {
PrintAndLogEx(WARNING, "File %s not found or locked", filename);
free(data);
return 3;
}