You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the function InitializeNetTransportLayer, app.netTLayer is set to the value of a raw pointer. InitializeNetTransportLayer is called from 2 different parts of OPUNetDlgWindow.
I think we may need to call delete on app.netTLayer before setting it to the new pointer.
voidOPUNetGameSelectWnd::InitializeNetTransportLayer()
{
opuNetTransportLayer = OPUNetTransportLayer::Create();
if (opuNetTransportLayer == nullptr)
{
// Error creating the transport layerEndDialog(this->hWnd, true); // bCancel = truereturn;
}
// Set the global NetTransportLayer object pointer
app.netTLayer = opuNetTransportLayer;
}
The text was updated successfully, but these errors were encountered:
Within the function
InitializeNetTransportLayer
,app.netTLayer
is set to the value of a raw pointer.InitializeNetTransportLayer
is called from 2 different parts ofOPUNetDlgWindow
.I think we may need to call delete on
app.netTLayer
before setting it to the new pointer.The text was updated successfully, but these errors were encountered: