From 0c10703c756117ad1a8c9e911157cd9ca81f0f70 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 22 Mar 2010 20:14:51 +0100 Subject: s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY" --- source4/rpc_server/winreg/rpc_winreg.c | 1 + 1 file changed, 1 insertion(+) (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 955fbc230e..1b4044ffb7 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -61,6 +61,7 @@ static WERROR dcesrv_winreg_openhive(struct dcesrv_call_state *dce_call, WERROR result; h = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY); + W_ERROR_HAVE_NO_MEMORY(h); result = reg_get_predefined_key(ctx, hkey, (struct registry_key **)&h->data); -- cgit