* 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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user