diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-10 13:21:07 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-01-10 13:21:07 +0000 |
commit | fa7b33268934a7a89a643df0c2c120e20d553748 (patch) | |
tree | 0a251c436724c8edc3375a709011ae83f9bc45ff /protocols/EmLanProto/src/mlan.cpp | |
parent | 82c529fbc16afd118509e5805d26ca2cd79e2ab4 (diff) |
EmLAN:
- Fixed ressource leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@11814 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/EmLanProto/src/mlan.cpp')
-rw-r--r-- | protocols/EmLanProto/src/mlan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index df0db3b074..557466ad11 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -1590,9 +1590,9 @@ void CMLan::OnOutTCPConnection(u_long addr, SOCKET out_socket, LPVOID lpParamete } } } + CloseHandle(hFile); if (err) break; - CloseHandle(hFile); } if (err) |