mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
memory leak
This commit is contained in:
parent
78c1851c52
commit
035d143615
2 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ Server_Player::Server_Player(Server_Game *_game, int _playerId, const QString &_
|
|||
{
|
||||
}
|
||||
|
||||
Server_Player::~Server_Player()
|
||||
{
|
||||
delete deck;
|
||||
}
|
||||
|
||||
int Server_Player::newCardId()
|
||||
{
|
||||
return nextCardId++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue