From e6b96c693555bd15b60ee1798f8ec6271e437f47 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 7 Nov 1998 01:00:19 +0000 Subject: 1998-10-26 Gordon Matzigkeit * init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free the old diskfs_root_node when switching to a virtual root. --- libdiskfs/init-startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index 3573f8ff..ea77283c 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -75,7 +75,7 @@ diskfs_startup_diskfs (mach_port_t bootstrap, int flags) if _diskfs_chroot_directory is non-null. */ old = diskfs_root_node; diskfs_root_node = np; - ports_port_deref (old); + diskfs_nput (old); } if (bootstrap != MACH_PORT_NULL) -- cgit v1.2.3