diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/beinginfo.cpp | 1 | ||||
-rw-r--r-- | src/resources/colordb.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 7114290ca..80f416b91 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -52,6 +52,7 @@ BeingInfo::~BeingInfo() delete_all(mSounds); delete_all(mAttacks); mSounds.clear(); + delete_all(mDisplay.sprites); } void BeingInfo::setDisplay(SpriteDisplay display) diff --git a/src/resources/colordb.cpp b/src/resources/colordb.cpp index 2d4e9687e..72a5e4023 100644 --- a/src/resources/colordb.cpp +++ b/src/resources/colordb.cpp @@ -133,6 +133,7 @@ void ColorDB::loadColorLists() mColorLists[name] = colors; } } + delete doc; } void ColorDB::unload() |