From 88d46f4ea40c7e6efe357732c6427ad33f47c272 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 22 Mar 2008 01:52:03 +0100 Subject: registry: remove unneeded talloc stackframe variable. Michael (This used to be commit 81993db828bf11b13d7ee1f43483968dc6241bcc) --- source3/registry/reg_init_full.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3') diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c index f9c982027e..518cccb1b2 100644 --- a/source3/registry/reg_init_full.c +++ b/source3/registry/reg_init_full.c @@ -66,7 +66,6 @@ bool init_registry( void ) { int i; bool ret = false; - TALLOC_CTX *frame = talloc_stackframe(); if ( !regdb_init() ) { @@ -104,6 +103,5 @@ bool init_registry( void ) fail: /* close and let each smbd open up as necessary */ regdb_close(); - TALLOC_FREE(frame); return ret; } -- cgit