diff -r b6f2a363adf7 -r 7797b2f86d2b ximpfw/core/srcutils/ximpobjecthelpers.cpp --- a/ximpfw/core/srcutils/ximpobjecthelpers.cpp Wed Apr 14 16:17:20 2010 +0300 +++ b/ximpfw/core/srcutils/ximpobjecthelpers.cpp Tue Apr 27 16:58:25 2010 +0300 @@ -59,6 +59,7 @@ // EXPORT_C void TXIMPHBuf8Packer::UnPackArrayL( RPointerArray< HBufC8 >& aBufferArray, const TDesC8& aPack ) { + CleanupClosePushL( aBufferArray ); // No reset if ( ! aPack.Length() ) { @@ -83,6 +84,7 @@ aBufferArray.AppendL( theObject ); } CleanupStack::Pop( objCount ); // all the objects - CleanupStack::PopAndDestroy(); // rs + CleanupStack::PopAndDestroy(); // rs + CleanupStack::Pop( &aBufferArray ); } // End of file