summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index 1139e45bef..6021fa08e1 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -835,7 +835,7 @@ static WERROR import_delete_key(struct import_ctx* ctx,
name = subkeyname;
}
- werr = reg_deletekey_recursive(mem_ctx, parent, name);
+ werr = reg_deletekey_recursive(parent, name);
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "reg_deletekey_recursive %s: %s\n", _("failed"),
win_errstr(werr));