aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--transact.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 395da806..f2c52e8c 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@
* New Danish, Turkish, and Catalan translation files.
* Improved ODMR debug messages.
* IMAP efficiency hack; don't fetch sizes unless needed.
+* Detect and rwerite invalid return paths beginning with @.
+* Fix for subtle freeing bug that suppressed information in some bounce msgs.
fetchmail-6.1.0 (Sun Sep 22 18:31:23 EDT 2002), 21999 lines:
diff --git a/transact.c b/transact.c
index c0f79253..82729aa6 100644
--- a/transact.c
+++ b/transact.c
@@ -388,6 +388,7 @@ int readheaders(int sock,
*/
if (msgblk.headers)
free(msgblk.headers);
+ free_str_list(&msgblk.recipients);
/* initially, no message ID */
if (ctl->thisid)
@@ -1232,8 +1233,6 @@ int readheaders(int sock,
*cp++ = '\0';
stuffline(ctl, buf);
-/* free(msgblk.headers); */
- free_str_list(&msgblk.recipients);
return(headers_ok ? PS_SUCCESS : PS_TRUNCATED);
}