summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/proto_utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/proto_utils.cpp b/src/mir_app/src/proto_utils.cpp
index e1f3d803c3..d97d8f5396 100644
--- a/src/mir_app/src/proto_utils.cpp
+++ b/src/mir_app/src/proto_utils.cpp
@@ -170,6 +170,9 @@ PROTO_INTERFACE::PROTO_INTERFACE(const char *pszModuleName, const wchar_t *ptszU
PROTO_INTERFACE::~PROTO_INTERFACE()
{
+ if (m_hNetlibUser)
+ Netlib_CloseHandle(m_hNetlibUser);
+
mir_free(m_szModuleName);
mir_free(m_tszUserName);