diff options
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_cmd_getgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |