mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
CHG: still issues left.
This commit is contained in:
parent
5e14319d2c
commit
713f5d019c
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,7 @@ int nonce2key_ex(uint8_t blockno, uint8_t keytype, uint32_t uid, uint32_t nt, ui
|
||||||
printf("key_count: %d\n", key_count);
|
printf("key_count: %d\n", key_count);
|
||||||
if ( key_count == 0 ){
|
if ( key_count == 0 ){
|
||||||
free(state);
|
free(state);
|
||||||
|
state = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,6 +170,7 @@ out:
|
||||||
free(last_keylist);
|
free(last_keylist);
|
||||||
last_keylist = NULL;
|
last_keylist = NULL;
|
||||||
free(state);
|
free(state);
|
||||||
|
state = NULL;
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue