summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 169f8f16a7..d9e70cd6a7 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -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))) {