Zero length in keymaster_free_param_set.
Change-Id: I0b9999e4c148d70369549cbd2fcdbbff7321a587
This commit is contained in:
parent
aeb15d64fc
commit
e366efd5bb
1 changed files with 1 additions and 0 deletions
|
@ -587,6 +587,7 @@ inline void keymaster_free_param_set(keymaster_key_param_set_t* set) {
|
|||
keymaster_free_param_values(set->params, set->length);
|
||||
free(set->params);
|
||||
set->params = NULL;
|
||||
set->length = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue