FIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free

This commit is contained in:
iceman1001 2016-01-12 23:37:33 +01:00
parent 60daed79db
commit e683ecb6a5

View file

@ -988,6 +988,7 @@ int CmdHF14AMfChk(const char *Cmd)
break;
default:
PrintAndLog("Key type must be A , B or ?");
free(keyBlock);
return 1;
};