1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix #3804: use-after-free in TcpSocket (#3810)

This commit is contained in:
Michał Janiszewski
2016-06-03 15:30:00 +02:00
committed by Ted John
parent d2aaad6f7e
commit 628e263094

View File

@@ -323,9 +323,9 @@ public:
{
req->Socket->_error = std::string(ex.GetMsg());
}
delete req;
SDL_UnlockMutex(req->Socket->_connectMutex);
delete req;
return 0;
}, 0, req);
}