From 1dbd7b406fdd0c50ad077a24065dada3a3a54085 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 7 Jul 2013 05:33:16 -0400 Subject: Fix fd leak in mail.c with ForkForMail enabled --- src/mail.c | 2 +- version.log | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mail.c b/src/mail.c index 8b89a1b81..679f88569 100644 --- a/src/mail.c +++ b/src/mail.c @@ -239,7 +239,7 @@ void MailEnd(MailInfo * mail) fclose(mail->readpipe); _exit(EXIT_SUCCESS); } - else if (pid < 0) + else #endif { if (mail->pipe != mail->writepipe) diff --git a/version.log b/version.log index 326072e4d..5abbb4bcc 100644 --- a/version.log +++ b/version.log @@ -8,9 +8,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="9" VERSION_EXTRA="-git" -VERSION_BUILD="3117" +VERSION_BUILD="3118" # Changes since 1.8.8 Release +#Revision 3118 - Fix fd leak in mail.c with ForkForMail enabled #Revision 3117 - Updated Hybrid protocol module to support vhosts #Revision 3116 - Bug #1527 - Fixed modules being loaded regardless of the load abort signal returned by a modules AnopeInit function. (Introduced in commit. e0c3069c) -- cgit