From 9fc84ef71655096d563cf9190ce3e127f638c6d9 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 5 Oct 2016 16:04:11 -0400 Subject: [PATCH] Call c_ceclosefnx in mhfixmsg set_ce(). It doesn't seem to help reduce file descriptor leaks, but can't hurt. --- uip/mhfixmsg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index b7025514..61b3b8b3 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -1160,6 +1160,10 @@ set_ce (CT ct, int encoding) { ct->c_cefile.ce_file to the name of the file containing the contents. */ + if (ct->c_ceclosefnx) { + (*ct->c_ceclosefnx) (ct); + } + /* Restore the cefile. */ ct->c_cefile = decoded_content_info; -- 2.56.0