fix: mem leaks.

This commit is contained in:
iceman1001 2019-02-21 15:34:31 +01:00
commit 91d6836a47
7 changed files with 22 additions and 14 deletions

View file

@ -2162,10 +2162,10 @@ static int cmp_uint32( const void *a, const void *b) {
int CmdHFiClassLookUp(const char *Cmd) {
uint8_t CSN[8];
uint8_t EPURSE[8];
uint8_t EPURSE[8] = { 0,0,0,0,0,0,0,0 };
uint8_t MACS[8];
uint8_t CCNR[12];
uint8_t MAC_TAG[4] = {0x00,0x00,0x00,0x00};
uint8_t MAC_TAG[4] = { 0,0,0,0 };
// elite key, raw key, standard key
bool use_elite = false;