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
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev