mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 20:18:17 +08:00
FIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free
This commit is contained in:
parent
60daed79db
commit
e683ecb6a5
1 changed files with 1 additions and 0 deletions
|
@ -988,6 +988,7 @@ int CmdHF14AMfChk(const char *Cmd)
|
|||
break;
|
||||
default:
|
||||
PrintAndLog("Key type must be A , B or ?");
|
||||
free(keyBlock);
|
||||
return 1;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue