mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-01 09:59:57 +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;
|
break;
|
||||||
default:
|
default:
|
||||||
PrintAndLog("Key type must be A , B or ?");
|
PrintAndLog("Key type must be A , B or ?");
|
||||||
|
free(keyBlock);
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue