From 732732a728d924dc03fbe30dedf1e7e39666232c Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 31 May 2018 19:13:43 +1000 Subject: [PATCH] close iconv --- src/www_msgs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/www_msgs.c b/src/www_msgs.c index 18759dd..91873fd 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -1102,6 +1102,7 @@ int www_send_msg(struct user_record *user, char *to, char *subj, int conference, JAM_DelSubPacket(jsp); JAM_CloseMB(jb); free(jb); + iconv_close(ic); return 0; } else { if (conf.mail_conferences[conference]->mail_areas[area]->type == TYPE_ECHOMAIL_AREA) { @@ -1120,6 +1121,7 @@ int www_send_msg(struct user_record *user, char *to, char *subj, int conference, JAM_DelSubPacket(jsp); JAM_CloseMB(jb); free(jb); + iconv_close(ic); return 1; } return 0;