summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-22 01:52:03 +0100
committerMichael Adam <obnox@samba.org>2008-03-22 01:52:03 +0100
commit88d46f4ea40c7e6efe357732c6427ad33f47c272 (patch)
tree3f4404cefd6c54573ecf63f0e0db7b987314b1e4
parente12ed5279a2e34ae9d7fc2b32c853615e8f9f592 (diff)
downloadsamba-88d46f4ea40c7e6efe357732c6427ad33f47c272.tar.gz
samba-88d46f4ea40c7e6efe357732c6427ad33f47c272.tar.bz2
samba-88d46f4ea40c7e6efe357732c6427ad33f47c272.zip
registry: remove unneeded talloc stackframe variable.
Michael (This used to be commit 81993db828bf11b13d7ee1f43483968dc6241bcc)
-rw-r--r--source3/registry/reg_init_full.c2
1 files changed, 0 insertions, 2 deletions
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;
}