mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-13 03:29:51 +08:00
fix mem leak
This commit is contained in:
parent
9162a9d5f0
commit
a547690af5
1 changed files with 1 additions and 0 deletions
|
@ -656,6 +656,7 @@ static int CmdIndalaClone(const char *Cmd) {
|
|||
|
||||
if (getIndalaBits(fc, cn, bits) != PM3_SUCCESS) {
|
||||
PrintAndLogEx(ERR, "Error with tag bitstream generation.");
|
||||
free(bits);
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue