* 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:
Christopher Faylor
2004-02-17 20:03:01 +00:00
parent 88e584bf43
commit 720c33ae4c
6 changed files with 21 additions and 8 deletions

View File

@ -1278,8 +1278,6 @@ fhandler_base::fhandler_base ():
/* Normal I/O destructor */
fhandler_base::~fhandler_base (void)
{
if (!pc.normalized_path_size && pc.normalized_path)
cfree (pc.normalized_path);
if (rabuf)
free (rabuf);
}