Fixed memory leak.
This commit is contained in:
parent
5ddd577080
commit
43b3684e12
@ -125,6 +125,7 @@ void ClientLobbyRoomProtocol::voteLaps(uint8_t laps, uint8_t track_nb)
|
||||
NetworkString *request = getNetworkString(10);
|
||||
request->addUInt8(LE_VOTE_LAPS).addUInt8(laps).addUInt8(track_nb);
|
||||
sendToServer(request, true);
|
||||
delete request;
|
||||
} // voteLaps
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user