mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-07 02:24:27 -08:00
memory leak
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user