mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/src/cabstractmediamtpdataprovidergetobjectpropvalue.cpp
--- a/mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/src/cabstractmediamtpdataprovidergetobjectpropvalue.cpp Wed Sep 01 12:23:05 2010 +0100
+++ b/mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/src/cabstractmediamtpdataprovidergetobjectpropvalue.cpp Tue Sep 14 22:17:30 2010 +0300
@@ -126,7 +126,7 @@
if( size > 0 )
{
- HBufC8* sampleData = HBufC8::NewLC( size * sizeof(TUint8) ); // + sampleData
+ HBufC8* sampleData = HBufC8::NewLC( size ); // + sampleData
TPtr8 samplePtr = sampleData->Des();
User::LeaveIfError( sampleFile.Read( samplePtr ) );
iMTPTypeArray->SetByDesL( samplePtr );