mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix: mem leaks.
This commit is contained in:
parent
06ade9970a
commit
91d6836a47
7 changed files with 22 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue