fix coverity cid #416068
This commit is contained in:
1 parent
4179ce1e42
commit
1a4df13aae
1 file changed
+1
@@ -1070,6 +1070,7 @@ static int CmdHF14AWSLoadBmp(const char *Cmd) {
|
||||
return PM3_EMALLOC;
|
||||
}
|
||||
if (bytes_read < sizeof(bmp_header_t)) {
|
||||
free(bmp);
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user