--- a/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsAlgorithm1MultiSearchHelper.cpp Tue Apr 27 16:23:35 2010 +0300
+++ b/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsAlgorithm1MultiSearchHelper.cpp Tue May 11 16:00:21 2010 +0300
@@ -410,6 +410,7 @@
{
PRINT ( _L("Enter CPcsAlgorithm1MultiSearchHelper::ConvertQueryToListL") );
+ CleanupResetAndDestroyPushL( aQueryList );
for ( TInt queryIndex = 0; queryIndex < aSearchQuery.Count(); queryIndex++ )
{
TBuf<KPsQueryMaxLen> dataWithKeys;
@@ -419,7 +420,8 @@
aQueryList.AppendL( dWKToAppend );
CleanupStack::Pop( dWKToAppend ); // ownership transfered
}
-
+
+ CleanupStack::Pop( &aQueryList );
PRINT ( _L("End CPcsAlgorithm1MultiSearchHelper::ConvertQueryToListL") );
}