mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix coverity cid #416068
This commit is contained in:
parent
4179ce1e42
commit
1a4df13aae
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue