mirror of
https://github.com/nzbget/nzbget.git
synced 2026-01-27 07:17:50 -05:00
fixed a resource leak (socket) which could occur when an active download was deleted from queue
This commit is contained in:
@@ -186,7 +186,7 @@ Connection::~Connection()
|
||||
{
|
||||
free(m_szHost);
|
||||
}
|
||||
if (m_eStatus == csConnected && m_bAutoClose)
|
||||
if (m_bAutoClose)
|
||||
{
|
||||
Disconnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user