1
0
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:
Luke Leighton 2000-06-09 03:30:54 +00:00
parent ad98207f54
commit 979f509e74

View File

@ -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;
}