diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/password.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 6201b85357..4110530c0b 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -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; } |