diff options
author | Michael Adam <obnox@samba.org> | 2010-09-22 06:21:38 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-09-22 06:30:01 +0200 |
commit | 7a25d13742fe190e2b8b97f62d7db85db4e816e9 (patch) | |
tree | 10ab52798d9e5e5e1e790de217984b22acb6e86a /source3/libgpo | |
parent | a2ea85b68d86ed3651f00626b837cfa8184cc21b (diff) | |
download | samba-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/libgpo')
-rw-r--r-- | source3/libgpo/gpext/scripts.c | 2 | ||||
-rw-r--r-- | source3/libgpo/gpo_reg.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c index 693924dbee..09dc3de492 100644 --- a/source3/libgpo/gpext/scripts.c +++ b/source3/libgpo/gpext/scripts.c @@ -301,7 +301,7 @@ static WERROR scripts_apply(TALLOC_CTX *mem_ctx, section, count++); W_ERROR_HAVE_NO_MEMORY(keystr); - reg_deletekey_recursive(mem_ctx, root_key, keystr); + reg_deletekey_recursive(root_key, keystr); werr = gp_store_reg_subkey(mem_ctx, keystr, root_key, &root_key); diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c index 83f7e8de78..375a2d31ff 100644 --- a/source3/libgpo/gpo_reg.c +++ b/source3/libgpo/gpo_reg.c @@ -326,7 +326,7 @@ static WERROR gp_reg_del_groupmembership(TALLOC_CTX *mem_ctx, flags); W_ERROR_HAVE_NO_MEMORY(path); - return reg_deletekey_recursive(mem_ctx, key, path); + return reg_deletekey_recursive(key, path); } @@ -447,7 +447,7 @@ static WERROR gp_del_reg_state(TALLOC_CTX *mem_ctx, struct registry_key *key, const char *path) { - return reg_deletesubkeys_recursive(mem_ctx, key, path); + return reg_deletesubkeys_recursive(key, path); } /**************************************************************** |