mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
coverity 290398
This commit is contained in:
parent
8898000dac
commit
17d6ce5007
1 changed files with 1 additions and 0 deletions
|
@ -1686,6 +1686,7 @@ static int CmdHF15Restore(const char *Cmd) {
|
||||||
|
|
||||||
if ((datalen % blocksize) != 0) {
|
if ((datalen % blocksize) != 0) {
|
||||||
PrintAndLogEx(WARNING, "Datalen %zu isn't dividable with blocksize %zu", datalen, blocksize);
|
PrintAndLogEx(WARNING, "Datalen %zu isn't dividable with blocksize %zu", datalen, blocksize);
|
||||||
|
free(data);
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue