Merge pull request #5811 from lioncash/leak

TraversalClient: Fix memory leaks in ReleaseTraversalClient()
This commit is contained in:
Anthony 2017-07-22 15:49:53 -07:00 committed by GitHub
commit ccfd2e502e
1 changed files with 2 additions and 2 deletions

View File

@ -329,6 +329,6 @@ void ReleaseTraversalClient()
if (!g_TraversalClient)
return;
g_TraversalClient.release();
g_MainNetHost.release();
g_TraversalClient.reset();
g_MainNetHost.reset();
}