Fix open file leak in /LASTLOG, in situations like:

/LASTLOG -FILE /tmp/a -FILE /tmp/a
/LASTLOG -FILE /tmp/a -CLEAR
/LASTLOG -FILE /tmp/a -LITERAL
/LASTLOG -FILE /tmp/a -BOGUS

Found by Coverity.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@243 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-06-18 12:55:32 +00:00
parent 2fc84d5f93
commit 882c3150e2
2 changed files with 17 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* Fix open file leak in /LASTLOG found by Coverity. (caf)
* Fix file descriptor leak on SOCKS4 connection failure found by
Coverity. (caf)