Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
596e7be8
Commit
596e7be8
authored
Jan 25, 2011
by
Max-Wilhelm Bruker
Browse files
fixed one server memory leak
parent
2c50cce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_room.cpp
View file @
596e7be8
...
@@ -33,11 +33,6 @@ void Server_Room::addClient(Server_ProtocolHandler *client)
...
@@ -33,11 +33,6 @@ void Server_Room::addClient(Server_ProtocolHandler *client)
{
{
sendRoomEvent
(
new
Event_JoinRoom
(
id
,
new
ServerInfo_User
(
client
->
getUserInfo
())));
sendRoomEvent
(
new
Event_JoinRoom
(
id
,
new
ServerInfo_User
(
client
->
getUserInfo
())));
append
(
client
);
append
(
client
);
QList
<
ServerInfo_User
*>
eventUserList
;
for
(
int
i
=
0
;
i
<
size
();
++
i
)
eventUserList
.
append
(
new
ServerInfo_User
(
at
(
i
)
->
getUserInfo
()));
emit
roomInfoChanged
();
emit
roomInfoChanged
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment