diff options
Diffstat (limited to 'pith')
-rw-r--r-- | pith/send.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pith/send.c b/pith/send.c index d57c700d..1bc47ced 100644 --- a/pith/send.c +++ b/pith/send.c @@ -2106,14 +2106,14 @@ call_mailer(METAENV *header, struct mail_bodystruct *body, char **alt_smtp_serve done: -for (pff = last_header->next; pff; ) { - fs_give((void**)&pff->name); - fs_give((void**)&pff->textbuf); - PINEFIELD *pfff = pff->next; - fs_give((void**)&pff); - pff = pfff; -} -last_header->next = NULL; + for (pff = last_header->next; pff; ) { + fs_give((void**)&pff->name); + fs_give((void**)&pff->textbuf); + PINEFIELD *pfff = pff->next; + fs_give((void**)&pff); + pff = pfff; + } + last_header->next = NULL; #ifdef SMIME /* Free replacement encrypted body */ |