coverity 290398

This commit is contained in:
iceman1001 2020-06-03 14:26:09 +02:00
parent 8898000dac
commit 17d6ce5007

View file

@ -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;
}