From 4c29a4e12683a6826104f5974a86d07fb6346266 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 16 Mar 2010 16:00:34 +0100 Subject: s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups" --- source4/winbind/wb_cmd_getgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/winbind/wb_cmd_getgroups.c b/source4/winbind/wb_cmd_getgroups.c index 2262f6890c..d1a88b2227 100644 --- a/source4/winbind/wb_cmd_getgroups.c +++ b/source4/winbind/wb_cmd_getgroups.c @@ -71,7 +71,7 @@ struct composite_context *wb_cmd_getgroups_send(TALLOC_CTX *mem_ctx, state->num_groups = 0; state->username = talloc_strdup(state,username); - if (composite_nomem(ctx, result)) return result; + if (composite_nomem(state->username, result)) return result; ctx = wb_cmd_getpwnam_send(state, service, username); if (composite_nomem(ctx, result)) return result; -- cgit