git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd34f65
)
free NET_USER_INFO_3 gids when vuser invalidated.
author
Luke Leighton
<lkcl@samba.org>
Fri, 9 Jun 2000 03:30:54 +0000
(
03:30
+0000)
committer
Luke Leighton
<lkcl@samba.org>
Fri, 9 Jun 2000 03:30:54 +0000
(
03:30
+0000)
source/smbd/password.c
patch
|
blob
|
history
diff --git
a/source/smbd/password.c
b/source/smbd/password.c
index 6201b85357f41c1388e6e130dc8ae6e1e0eed513..4110530c0b6b55a0865eb959698e8cd4263dc9cd 100644
(file)
--- a/
source/smbd/password.c
+++ b/
source/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;
}