summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-22 06:21:38 +0200
committerMichael Adam <obnox@samba.org>2010-09-22 06:30:01 +0200
commit7a25d13742fe190e2b8b97f62d7db85db4e816e9 (patch)
tree10ab52798d9e5e5e1e790de217984b22acb6e86a /source3/lib
parenta2ea85b68d86ed3651f00626b837cfa8184cc21b (diff)
downloadsamba-7a25d13742fe190e2b8b97f62d7db85db4e816e9.tar.gz
samba-7a25d13742fe190e2b8b97f62d7db85db4e816e9.tar.bz2
samba-7a25d13742fe190e2b8b97f62d7db85db4e816e9.zip
s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursive
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbconf/smbconf_reg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 11affd9479..980c5b7e03 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -721,7 +721,7 @@ static WERROR smbconf_reg_drop(struct smbconf_ctx *ctx)
goto done;
}
- werr = reg_deletekey_recursive(mem_ctx, parent_key, p+1);
+ werr = reg_deletekey_recursive(parent_key, p+1);
if (!W_ERROR_IS_OK(werr)) {
goto done;
@@ -913,8 +913,7 @@ static WERROR smbconf_reg_delete_share(struct smbconf_ctx *ctx,
TALLOC_CTX *mem_ctx = talloc_stackframe();
if (servicename != NULL) {
- werr = reg_deletekey_recursive(mem_ctx, rpd(ctx)->base_key,
- servicename);
+ werr = reg_deletekey_recursive(rpd(ctx)->base_key, servicename);
} else {
werr = smbconf_reg_delete_values(rpd(ctx)->base_key);
}