From c5d1d68f0bb9b2d544bab01adc4daad8ed6103fc Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 29 Mar 2010 21:52:12 +0200 Subject: s4:registry/util.c - remove those "talloc_free"s They're not really necessary. --- source4/lib/registry/util.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/lib') 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; } -- cgit