branch | NewGraphicsArchitecture |
changeset 140 | 13a436a0995b |
parent 18 | 5e30ef2e26cb |
--- a/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Wed Aug 04 14:31:48 2010 +0100 +++ b/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Thu Aug 05 12:17:46 2010 +0100 @@ -340,10 +340,7 @@ { CElementWrapper* element=static_cast<CElementWrapper*>(aElement); RemoveElementFromSceneList(element); - if (!(element->UpdateFlags()&CElementWrapper::EUpdate_SceneCommited)) - { - delete element; - } + delete element; } }