summaryrefslogtreecommitdiffstats
path: root/source3/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/server_info_sam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/server_info_sam.c b/source3/auth/server_info_sam.c
index 47087b1b4f..6cd791e009 100644
--- a/source3/auth/server_info_sam.c
+++ b/source3/auth/server_info_sam.c
@@ -75,7 +75,8 @@ NTSTATUS make_server_info_sam(TALLOC_CTX *mem_ctx,
server_info = make_server_info(tmp_ctx);
if (server_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ status = NT_STATUS_NO_MEMORY;
+ goto out;
}
pwd = Get_Pwnam_alloc(tmp_ctx, username);