fix: mem leaks.
This commit is contained in:
1 parent
06ade9970a
commit
91d6836a47
7 files changed
+22
-14
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user