diff -r 502e5d91ad42 -r 15e4dd19031c contentpublishingsrv/contentpublishingserver/cpserver/src/cpnotificationhandler.cpp --- a/contentpublishingsrv/contentpublishingserver/cpserver/src/cpnotificationhandler.cpp Mon Mar 15 12:41:53 2010 +0200 +++ b/contentpublishingsrv/contentpublishingserver/cpserver/src/cpnotificationhandler.cpp Wed Mar 31 22:04:35 2010 +0300 @@ -312,12 +312,8 @@ { listOfMatchingMaps->AppendL( variant ); } - else - { - variant.Reset(); - } } - CleanupStack::Pop( &variant ); + CleanupStack::PopAndDestroy( &variant ); } if ( listOfMatchingMaps->Count( ) ) {