mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3:registry: don't leak the old contents when updating the value cache
Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
f4747250ea
commit
04aa303fb1
@ -89,6 +89,7 @@ static WERROR fill_value_cache(struct registry_key *key)
|
||||
}
|
||||
}
|
||||
|
||||
TALLOC_FREE(key->values);
|
||||
werr = regval_ctr_init(key, &(key->values));
|
||||
W_ERROR_NOT_OK_RETURN(werr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user