diff -r 6cadd6867c17 -r 67f2ed48ad91 idlefw/plugins/sapidataplugin/src/sapidataplugin.cpp --- a/idlefw/plugins/sapidataplugin/src/sapidataplugin.cpp Wed Sep 15 12:32:36 2010 +0300 +++ b/idlefw/plugins/sapidataplugin/src/sapidataplugin.cpp Wed Oct 13 14:53:46 2010 +0300 @@ -241,9 +241,7 @@ if ( icon != NULL ) // Syntax correct but icon not found { aObserver->PublishPtr( *this, aContentId, icon , aContentId ); - CleanupStack::PushL( icon ); - iIconArray.AppendL( icon ); - CleanupStack::Pop( icon ); + iIconArray.Append(icon); } else { @@ -287,7 +285,6 @@ { // Take the ownership CGulIcon* icon = CGulIcon::NewL(bitmap); - CleanupStack::PushL( icon ); if( aMaskHandle != KErrBadHandle ) { CFbsBitmap* mask = new (ELeave) CFbsBitmap(); @@ -297,8 +294,7 @@ } } aObserver->PublishPtr( *this, aContentId, icon , aContentId ); - iIconArray.AppendL( icon ); - CleanupStack::Pop( icon ); + iIconArray.Append(icon); } else {