--- a/omadrm/drmengine/roap/src/RoapSigner.cpp Wed Jun 23 18:30:42 2010 +0300
+++ b/omadrm/drmengine/roap/src/RoapSigner.cpp Tue Jul 06 14:34:12 2010 +0300
@@ -185,7 +185,9 @@
ptr.Copy( aResponse.Left( startPoint ) );
ptr.Append( aResponse.Right( aResponse.Length() - endPoint ) );
- iResponses.Append( tempMessage );
+ CleanupStack::PushL( tempMessage );
+ iResponses.AppendL ( tempMessage );
+ CleanupStack::Pop( tempMessage );
iHash->Reset();
for ( i = 0; i < iResponses.Count(); i++ )
{
@@ -290,7 +292,9 @@
CleanupStack::PopAndDestroy( s );
CleanupStack::PopAndDestroy( signature );
- iRequests.Append( r->Des().AllocL() );
+ CleanupStack::PushL( r );
+ iRequests.AppendL ( r->Des().AllocL() );
+ CleanupStack::Pop( r );
return r;
}