aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-12-22 11:47:13 -0800
committerRoland McGrath <roland@redhat.com>2009-12-22 11:47:13 -0800
commite70ffcb0fa9a63e7befc3e513944aeb19d2e4748 (patch)
treeaba3923f99432ec31efb46992e9e43d7d6d2fcae /sysdeps
parentd34bd80fceb76fa66308bd8005ad28be96a01e36 (diff)
downloadglibc-e70ffcb0fa9a63e7befc3e513944aeb19d2e4748.tar
glibc-e70ffcb0fa9a63e7befc3e513944aeb19d2e4748.tar.gz
glibc-e70ffcb0fa9a63e7befc3e513944aeb19d2e4748.tar.bz2
glibc-e70ffcb0fa9a63e7befc3e513944aeb19d2e4748.zip
Hurd: Fix spurious mach_port_deallocate in getcwd.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/getcwd.c b/sysdeps/mach/hurd/getcwd.c
index 7e07e6b404..7da677eec9 100644
--- a/sysdeps/mach/hurd/getcwd.c
+++ b/sysdeps/mach/hurd/getcwd.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,92,93,94,95,96,97,98,2002,04 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98,2002,2004,2009
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -60,7 +61,6 @@ _hurd_canonicalize_directory_name_internal (file_t thisdir,
__mach_port_deallocate (__mach_task_self (), thisid);
__mach_port_deallocate (__mach_task_self (), thisdevid);
__mach_port_deallocate (__mach_task_self (), rootid);
- __mach_port_deallocate (__mach_task_self (), rootdevid);
if (dirbuf != NULL)
__vm_deallocate (__mach_task_self (),