From 720c33ae4c9fb2fe10268e123d5b34a5042170e1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 17 Feb 2004 20:03:01 +0000 Subject: * 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. --- winsup/cygwin/syscalls.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/syscalls.cc') 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; } -- cgit v1.2.3