From 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 22 Mar 2010 19:18:56 +0100 Subject: s4:registry - adaptions for "add memory contexts for delete value/key functions" --- source4/rpc_server/winreg/rpc_winreg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/rpc_server/winreg') diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c index 506c72df44..955fbc230e 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -189,7 +189,7 @@ static WERROR dcesrv_winreg_DeleteKey(struct dcesrv_call_state *dce_call, { case SECURITY_SYSTEM: case SECURITY_ADMINISTRATOR: - result = reg_key_del(key, r->in.key.name); + result = reg_key_del(mem_ctx, key, r->in.key.name); talloc_unlink(dce_call->context, h); return result; @@ -216,7 +216,7 @@ static WERROR dcesrv_winreg_DeleteValue(struct dcesrv_call_state *dce_call, { case SECURITY_SYSTEM: case SECURITY_ADMINISTRATOR: - return reg_del_value(key, r->in.value.name); + return reg_del_value(mem_ctx, key, r->in.value.name); default: return WERR_ACCESS_DENIED; } -- cgit