summaryrefslogtreecommitdiff
path: root/pith/reply.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-05-19 00:18:27 -0600
committerEduardo Chappa <chappa@washington.edu>2018-05-19 00:18:27 -0600
commit2c08a863b7242f6658151a2e2592a6293c4dcb65 (patch)
treec0c788c662945a82e701f22d8e9a8823711e5ebd /pith/reply.c
parent58396d907b993f849a7f32b9665b793c9a5c5d0e (diff)
downloadalpine-2c08a863b7242f6658151a2e2592a6293c4dcb65.tar.xz
* Clear history when closing alpine, for commands that keep it.
* Reversing the clearing of the rmap memory.
Diffstat (limited to 'pith/reply.c')
-rw-r--r--pith/reply.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pith/reply.c b/pith/reply.c
index 7bda78cb..398ee63d 100644
--- a/pith/reply.c
+++ b/pith/reply.c
@@ -2702,6 +2702,9 @@ get_body_part_text(MAILSTREAM *stream, struct mail_bodystruct *body,
*ret_charset = "UTF-8";
}
+ if(charset)
+ fs_give((void **) &charset);
+
/*
* just use detach, but add an auxiliary filter to insert prefix,
* and, perhaps, digest richtext