From 4ffba39b1411b230d6f79f44eadacfdbf3c85d40 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 May 2011 03:33:43 +0300 Subject: Fix memory leaks in beinginfo and colordb classes. --- src/resources/beinginfo.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/resources/beinginfo.cpp') 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) -- cgit v1.2.3-60-g2f50