summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpext/scripts.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libgpo/gpext/scripts.c')
-rw-r--r--source3/libgpo/gpext/scripts.c2
1 files changed, 1 insertions, 1 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);