Fixed memory leak when deleting library.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1848d7b617
commit
549ba4c1c2
|
@ -8,6 +8,7 @@ CreatureLib::Battling::BattleLibrary::BattleLibrary(CreatureLib::Library::DataLi
|
||||||
CreatureLib::Battling::BattleLibrary::~BattleLibrary() {
|
CreatureLib::Battling::BattleLibrary::~BattleLibrary() {
|
||||||
delete _staticLib;
|
delete _staticLib;
|
||||||
delete _statCalculator;
|
delete _statCalculator;
|
||||||
|
delete _damageLibrary;
|
||||||
}
|
}
|
||||||
|
|
||||||
const CreatureLib::Library::LibrarySettings& CreatureLib::Battling::BattleLibrary::GetSettings() const {
|
const CreatureLib::Library::LibrarySettings& CreatureLib::Battling::BattleLibrary::GetSettings() const {
|
||||||
|
|
Loading…
Reference in New Issue