mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
registry: don't leak (to talloc_tos()) in init_registry_data().
Michael
(This used to be commit 7fd0ae3edc
)
This commit is contained in:
parent
7c6de9b0bd
commit
0ca465f054
@ -189,6 +189,8 @@ static bool init_registry_data( void )
|
||||
|
||||
/* loop over all of the predefined values and add each component */
|
||||
|
||||
frame = talloc_stackframe();
|
||||
|
||||
for (i=0; builtin_registry_values[i].path != NULL; i++) {
|
||||
|
||||
if (!(values = TALLOC_ZERO_P(talloc_tos(), REGVAL_CTR))) {
|
||||
|
Loading…
Reference in New Issue
Block a user