diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-05-27 21:43:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-05-27 21:43:46 +0000 |
commit | 8c5428e5952af7dea52025ffc45c6477e3de8ea4 (patch) | |
tree | 2a15837d4efef76417ac9ec20632a167b562f53c /sys | |
parent | dda28cb6ebf7e8fb81373845a23e2744bbedc137 (diff) | |
download | FreeBSD-src-8c5428e5952af7dea52025ffc45c6477e3de8ea4.zip FreeBSD-src-8c5428e5952af7dea52025ffc45c6477e3de8ea4.tar.gz |
o uifree() the cr_ruidinfo in crfree() as well as cr_uidinfo now that the real uid
info is in the credential also.
Submitted by: egge
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_prot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index fcef6d0..47775b6 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -1303,6 +1303,8 @@ crfree(cr) */ if (cr->cr_uidinfo != NULL) uifree(cr->cr_uidinfo); + if (cr->cr_ruidinfo != NULL) + uifree(cr->cr_ruidinfo); /* * Free a prison, if any. */ |