fixed one server memory leak
This commit is contained in:
parent
2c50cce6e2
commit
596e7be8b1
1 changed files with 0 additions and 5 deletions
|
@ -33,11 +33,6 @@ void Server_Room::addClient(Server_ProtocolHandler *client)
|
|||
{
|
||||
sendRoomEvent(new Event_JoinRoom(id, new ServerInfo_User(client->getUserInfo())));
|
||||
append(client);
|
||||
|
||||
QList<ServerInfo_User *> eventUserList;
|
||||
for (int i = 0; i < size(); ++i)
|
||||
eventUserList.append(new ServerInfo_User(at(i)->getUserInfo()));
|
||||
|
||||
emit roomInfoChanged();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue