[win32] fix warning in NetState

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas 2024-05-09 16:57:21 +03:00
parent 601695dede
commit c4bbe2bb4a
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
2 changed files with 10 additions and 1 deletions

View file

@ -73,16 +73,24 @@ void UnSubscribeFromEvents()
}
if (pNetEvent)
{
pNetEvent->Release();
}
if (pCPContainer)
{
pCPContainer->Release();
}
if (pNetworkListManager)
{
pNetworkListManager->Release();
}
if (pUnknown)
{
pUnknown->Release();
}
CoUninitialize();
}