From fa7b33268934a7a89a643df0c2c120e20d553748 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 10 Jan 2015 13:21:07 +0000 Subject: EmLAN: - Fixed ressource leak git-svn-id: http://svn.miranda-ng.org/main/trunk@11814 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/EmLanProto/src/mlan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/EmLanProto/src') 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) -- cgit v1.2.3