diff -r e42293e811d8 -r 6c1dfe4da5dd mpx/commonframework/common/src/mpxuser.cpp --- a/mpx/commonframework/common/src/mpxuser.cpp Thu Aug 19 10:24:28 2010 +0300 +++ b/mpx/commonframework/common/src/mpxuser.cpp Tue Aug 31 15:41:40 2010 +0300 @@ -256,6 +256,7 @@ const TArray& aSrc, RArray& aDest) { + CleanupClosePushL(aDest); aDest.Reset(); for (TInt i = 0; i < aSrc.Count(); i++) { @@ -271,6 +272,7 @@ d = TMPXAttribute(d.ContentId(), d.AttributeId() | s.AttributeId()); } } + CleanupStack::Pop(); } // ---------------------------------------------------------------------------- @@ -384,6 +386,7 @@ // EXPORT_C void MPXUser::InternalizeL(RArray& aArray, RReadStream& aStream) { + CleanupClosePushL(aArray); TInt n=aStream.ReadInt32L(); for (TInt i=0;i