summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 20:14:51 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 22:31:06 +0100
commit0c10703c756117ad1a8c9e911157cd9ca81f0f70 (patch)
treed44de9e7ab2f5c4f3f011fec0f4700be4cd78ccc
parente78289f167363f3617f7417f7e25de369ea22d7f (diff)
downloadsamba-0c10703c756117ad1a8c9e911157cd9ca81f0f70.tar.gz
samba-0c10703c756117ad1a8c9e911157cd9ca81f0f70.tar.bz2
samba-0c10703c756117ad1a8c9e911157cd9ca81f0f70.zip
s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY"
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c1
1 files changed, 1 insertions, 0 deletions
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);