From: David Levine Date: Sun, 11 Mar 2012 02:33:24 +0000 (-0600) Subject: There were two fd leaks in mhparse.c: X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ae4ece224afb101116e61ac36bb913e7f11c5010?ds=inline;hp=ae4ece224afb101116e61ac36bb913e7f11c5010 There were two fd leaks in mhparse.c: 1) In openQuoted(), the decoded contents file was opened twice in succession. The second open was added by a patch in March 2000. 2) openBase64(), openQuoted(), and open7Bit() could open the contents file, but it never would be closed. Added code to each to close the file if the function opened it. [Bug #24004: (debbug 344182)] ---