lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] ANN: lynx2.8.9dev.17


From: Gisle Vanem
Subject: Re: [Lynx-dev] ANN: lynx2.8.9dev.17
Date: Thu, 22 Mar 2018 16:29:12 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Thomas Dickey wrote:

The current version of lynx is 2.8.8

It's available at
        http://lynx.invisible-island.net/
        ftp://invisible-island.net/lynx/

I've always been building Lynx with '-DLY_FIND_LEAKS'.
And with just a short FTP-session, there are tons of
leaks to the same ftp-server. An easy fix:

--- a/WWW/Library/Implementation/HTFTP.c 2018-03-11 22:30:30
+++ b/WWW/Library/Implementation/HTFTP.c 2018-03-22 15:22:33
@@ -1471,6 +1471,11 @@
 {
     if (entry_info) {
        FREE(entry_info->filename);
+#ifdef LONG_LIST
+       FREE(entry_info->file_mode);
+       FREE(entry_info->file_user);
+       FREE(entry_info->file_group);
+#endif
        FREE(entry_info->linkname);
        FREE(entry_info->type);
        FREE(entry_info->date);

With that patch, I see no more leaks in HTFTP.c. But several
others; mainly concerning 'fill_rehostent()'. Which is too messy
for me to follow.

PS. It would be nice if the Lynx.leaks file could be saved
  in one place. Instead of littering my disk with these files.

--
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]