From b7095e9818bba8c43065cc1b1f29551203dc098b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 22 Jan 2013 17:39:44 +0100 Subject: s3:winbindd: check the correct variable for talloc success in rpc_query_user() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/winbindd/winbindd_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c index a96dbb15db..44deeb071c 100644 --- a/source3/winbindd/winbindd_rpc.c +++ b/source3/winbindd/winbindd_rpc.c @@ -526,7 +526,7 @@ NTSTATUS rpc_query_user(TALLOC_CTX *mem_ctx, user_info->full_name = talloc_strdup(user_info, info->info21.full_name.string); if ((info->info21.full_name.string != NULL) && - (user_info->acct_name == NULL)) + (user_info->full_name == NULL)) { return NT_STATUS_NO_MEMORY; } -- cgit