summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-17 20:03:01 +0000
committerChristopher Faylor <me@cgf.cx>2004-02-17 20:03:01 +0000
commit720c33ae4c9fb2fe10268e123d5b34a5042170e1 (patch)
tree6bf6a681bbfeee61d2da5170d94cbbaf3a80ba05 /winsup/cygwin/syscalls.cc
parent88e584bf43ec8d63729f59c2e21e8dd4001e7e41 (diff)
downloadcygnal-720c33ae4c9fb2fe10268e123d5b34a5042170e1.tar.gz
cygnal-720c33ae4c9fb2fe10268e123d5b34a5042170e1.tar.bz2
cygnal-720c33ae4c9fb2fe10268e123d5b34a5042170e1.zip
* Makefile.in (clean): Clean libserver, too.
* fhandler.cc (fhandler_base::~fhandler_base): Remove path_conv cleanup. * syscalls.cc (chroot): Ditto. * path.cc (path_conv::~path_conv): Define new destructor. (conv_path_list_buf_size): Remove explicit path_conv cleanup. * path.h (path_conv::~path_conv): Declare new destructor.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 98a8848cf..132d22325 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -2320,8 +2320,6 @@ chroot (const char *newroot)
syscall_printf ("%d = chroot (%s)", ret ? get_errno () : 0,
newroot ? newroot : "NULL");
- if (!path.normalized_path_size && path.normalized_path)
- cfree (path.normalized_path);
return ret;
}