diff -r fc313e1df071 -r 6347473a7bb2 srsf/sisrscontrollerplugin/src/sicommondb.cpp --- a/srsf/sisrscontrollerplugin/src/sicommondb.cpp Wed Apr 14 15:58:44 2010 +0300 +++ b/srsf/sisrscontrollerplugin/src/sicommondb.cpp Tue May 11 16:14:47 2010 +0300 @@ -228,6 +228,8 @@ TUid aClientUid, RArray& aIDs ) { + CleanupClosePushL( aIDs ); + TBuf<100> KSQLStatement; // Declare a literal string to hold the SQL statement // SELECT aIdColumn, KUsedColumn FROM aIdTable WHERE KClientUidColumn = uid @@ -279,6 +281,7 @@ // Cleanup view CleanupStack::PopAndDestroy(); + CleanupStack::Pop(); } // ----------------------------------------------------------------------------- @@ -291,6 +294,8 @@ const TDesC& aIdColumn, RArray& aIDs ) { + CleanupClosePushL( aIDs ); + TBuf<100> KSQLStatement; // Declare a literal string to hold the SQL statement // SELECT aIdColumn FROM aIdTable WHERE KUsedColumn = KUsed @@ -333,6 +338,7 @@ // Cleanup view CleanupStack::PopAndDestroy(); + CleanupStack::Pop(); } // -----------------------------------------------------------------------------