mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
TraversalClient: Fix memory leaks in ReleaseTraversalClient()
release() relinquishes ownership of a pointer, it doesn't actually free it.
This commit is contained in:
parent
efd318df64
commit
5859914da5
@ -329,6 +329,6 @@ void ReleaseTraversalClient()
|
||||
if (!g_TraversalClient)
|
||||
return;
|
||||
|
||||
g_TraversalClient.release();
|
||||
g_MainNetHost.release();
|
||||
g_TraversalClient.reset();
|
||||
g_MainNetHost.reset();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user