mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix few mem leaks
This commit is contained in:
parent
78c153fe74
commit
1f364106ce
14 changed files with 31 additions and 15 deletions
|
@ -2446,6 +2446,7 @@ static int CmdResetRead(const char *Cmd) {
|
|||
|
||||
if (!GetFromDevice(BIG_BUF, got, sizeof(got), 0, NULL, 0, NULL, 2500, false)) {
|
||||
PrintAndLogEx(WARNING, "command execution time out");
|
||||
free(got);
|
||||
return PM3_ETIMEOUT;
|
||||
}
|
||||
setGraphBuf(got, sizeof(got));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue