Fixed heap leaks issue with KDE #988

git-svn-id: svn://ultimatepp.org/upp/trunk@8191 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-02-21 17:53:19 +00:00
parent 57469504df
commit bbb6f7dacd
3 changed files with 9 additions and 2 deletions

View file

@ -8,6 +8,7 @@ NAMESPACE_UPP
void Ctrl::Create(Ctrl *owner, bool popup)
{
MemoryIgnoreLeaksBlock ___;
GuiLock __;
ASSERT_(IsMainThread(), "Only the main thread can open a window");
LLOG("Create " << Name() << " " << GetRect());