From 8c5428e5952af7dea52025ffc45c6477e3de8ea4 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 27 May 2001 21:43:46 +0000 Subject: [PATCH] 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 --- sys/kern/kern_prot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index fcef6d0ee1dc..47775b6f671c 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. */