summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 6552e4d6d9..0620748efa 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -287,8 +287,5 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
error = reg_key_add_name(mem_ctx, parent, n, NULL, sec_desc, result);
- talloc_free(parent);
- talloc_free(n);
-
return error;
}