coverity 290398
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user