From 029818ba44703c5151f8d916284e307b05d08fa9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Nov 2013 00:09:32 +0300 Subject: Add configure option --enable-checks for check some calls (disabled by default) Also add configuration listeners removing in objects. --- src/being/being.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index fdd706bbe..ed794a49a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -214,6 +214,7 @@ Being::Being(const int id, const Type type, const uint16_t subtype, Being::~Being() { config.removeListener("visiblenames", this); + CHECKLISTENERS delete [] mSpriteRemap; mSpriteRemap = nullptr; -- cgit v1.2.3-70-g09d2