aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c3
1 files changed, 1 insertions, 2 deletions
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);
}