mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-11 10:38:39 +08: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) {
|
||||
PrintAndLogEx(WARNING, "Datalen %zu isn't dividable with blocksize %zu", datalen, blocksize);
|
||||
free(data);
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue