diff --git a/src/ui/simple/CSimpleFrame.cpp b/src/ui/simple/CSimpleFrame.cpp index 7630899..9cf321d 100644 --- a/src/ui/simple/CSimpleFrame.cpp +++ b/src/ui/simple/CSimpleFrame.cpp @@ -64,13 +64,15 @@ CSimpleFrame::CSimpleFrame(CSimpleFrame* parent) : CScriptRegion() { } CSimpleFrame::~CSimpleFrame() { - // TODO - this->m_intAC = 3; this->m_top->UnregisterFrame(this); this->m_top = nullptr; + if (this->m_titleRegion) { + delete this->m_titleRegion; + } + // TODO }