1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r19008: Fix a segfault

This commit is contained in:
Volker Lendecke 2006-09-29 21:26:33 +00:00 committed by Gerald (Jerry) Carter
parent d0658139a3
commit adfc82f0e6

View File

@ -1200,6 +1200,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
num_group_sids = 1;
group_sids = &primary_group_sid;
gids = gid;
*found_username = talloc_strdup(mem_ctx, username);
}