diff -r 01a6848ebfd7 -r 36b2e23a8629 windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp --- a/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Fri Apr 16 16:21:04 2010 +0300 +++ b/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Mon May 03 13:44:32 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -340,10 +340,7 @@ { CElementWrapper* element=static_cast(aElement); RemoveElementFromSceneList(element); - if (!(element->UpdateFlags()&CElementWrapper::EUpdate_SceneCommited)) - { - delete element; - } + delete element; } }