FIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free
This commit is contained in:
@@ -988,6 +988,7 @@ int CmdHF14AMfChk(const char *Cmd)
|
||||
break;
|
||||
default:
|
||||
PrintAndLog("Key type must be A , B or ?");
|
||||
free(keyBlock);
|
||||
return 1;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user