Fixed memory leak.
This commit is contained in:
parent
1921dbdacd
commit
8307e0d8a3
@ -107,6 +107,7 @@ void PlayerManager::load()
|
||||
if(!m_current_player)
|
||||
Log::fatal("PlayerManager", "Can't find a default player.");
|
||||
|
||||
delete players;
|
||||
} // load
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user