diff options
-rw-r--r-- | libdiskfs/fsys-getroot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c index 54ba0a58..e083032e 100644 --- a/libdiskfs/fsys-getroot.c +++ b/libdiskfs/fsys-getroot.c @@ -186,10 +186,9 @@ diskfs_S_fsys_getroot (fsys_t controlport, diskfs_release_peropen (newpo); } - mach_port_deallocate (mach_task_self (), dotdot); - if (! error) { + mach_port_deallocate (mach_task_self (), dotdot); *retry = FS_RETRY_NORMAL; *retryname = '\0'; *returned_port = ports_get_right (newpi); |