[SCM] Samba Shared Repository - branch master updated
Michael Adam
obnox at samba.org
Mon Mar 15 17:14:01 MDT 2010
The branch, master has been updated
via 9a825dc... s3:registry-legacy: use talloc_stackframe() instead of NULL in regkey_open_internal()
from c27c430... s3:smbcacls: also honour the "--sddl" flag when setting ACLs.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 9a825dc770bfcb0923572e8ad3beff2f86dce992
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 15 12:36:52 2010 +0100
s3:registry-legacy: use talloc_stackframe() instead of NULL in regkey_open_internal()
Michael
-----------------------------------------------------------------------
Summary of changes:
source3/registry/reg_util_legacy.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/registry/reg_util_legacy.c b/source3/registry/reg_util_legacy.c
index c99e66a..50bc8b9 100644
--- a/source3/registry/reg_util_legacy.c
+++ b/source3/registry/reg_util_legacy.c
@@ -36,13 +36,14 @@ WERROR regkey_open_internal(TALLOC_CTX *ctx,
{
struct registry_key *key;
WERROR err;
+ TALLOC_CTX *tmp_ctx = talloc_stackframe();
- err = reg_open_path(NULL, path, access_desired, token, &key);
+ err = reg_open_path(tmp_ctx, path, access_desired, token, &key);
if (!W_ERROR_IS_OK(err)) {
return err;
}
*regkey = talloc_move(ctx, &key->key);
- TALLOC_FREE(key);
+ TALLOC_FREE(tmp_ctx);
return WERR_OK;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list