mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fix coverity CID 317112,CID 317111
This commit is contained in:
parent
7d83f5de82
commit
e3765a7ec0
1 changed files with 2 additions and 1 deletions
|
@ -339,9 +339,10 @@ static int CmdLFHitagEload(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_LF_HITAG_ELOAD, (uint8_t *)&payload, 2 + dumplen);
|
SendCommandNG(CMD_LF_HITAG_ELOAD, (uint8_t *)&payload, 2 + dumplen);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(ERR, "error, wrong dump file size. got %u", dumplen);
|
PrintAndLogEx(ERR, "error, wrong dump file size. got %zu", dumplen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(dump);
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue