CHG: still issues left.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user