mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
free NET_USER_INFO_3 gids when vuser invalidated.
(This used to be commit 2f056c2aad
)
This commit is contained in:
parent
ad98207f54
commit
979f509e74
@ -131,6 +131,10 @@ void invalidate_vuid(uint16 vuid)
|
||||
free((char *)vuser->groups);
|
||||
|
||||
vuser->groups = NULL;
|
||||
|
||||
if (vuser->usr.gids != NULL)
|
||||
free (vuser->usr.gids);
|
||||
vuser->usr.gids = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user