summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-21 10:25:09 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-22 19:04:41 +0100
commitbd25bc133a2a6f2b4d755b6d3ea83c956a60e3af (patch)
tree9c25163c8055c2a64bb11c5385ee1ab7c3fc3fea
parentb8d0994627ef237fdc92bebd9c9a26f9d62764bc (diff)
downloadsamba-bd25bc133a2a6f2b4d755b6d3ea83c956a60e3af.tar.gz
samba-bd25bc133a2a6f2b4d755b6d3ea83c956a60e3af.tar.bz2
samba-bd25bc133a2a6f2b4d755b6d3ea83c956a60e3af.zip
s4:auth/system_session.c - check for OOM
Reviewed-by: Jelmer
-rw-r--r--source4/auth/system_session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/system_session.c b/source4/auth/system_session.c
index ad0dab6262..54b8f514cf 100644
--- a/source4/auth/system_session.c
+++ b/source4/auth/system_session.c
@@ -268,6 +268,8 @@ static NTSTATUS auth_domain_admin_session_info(TALLOC_CTX *parent_ctx,
struct auth_user_info_dc *user_info_dc = NULL;
TALLOC_CTX *mem_ctx = talloc_new(parent_ctx);
+ NT_STATUS_HAVE_NO_MEMORY(mem_ctx);
+
nt_status = auth_domain_admin_user_info_dc(mem_ctx, lpcfg_netbios_name(lp_ctx),
lpcfg_workgroup(lp_ctx), domain_sid,
&user_info_dc);