1
0
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:
Michael Adam 2008-03-16 23:49:59 +01:00
parent 7c6de9b0bd
commit 0ca465f054

View File

@ -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))) {