--- a/omadrm/drmhelper/src/drmhelper.cpp Tue Sep 28 14:08:58 2010 +0300
+++ b/omadrm/drmhelper/src/drmhelper.cpp Thu Oct 14 13:45:23 2010 +0300
@@ -1476,8 +1476,9 @@
TUint32 rejectReason(0);
User::LeaveIfError( rightsClient.Connect() );
- rightsClient.CheckRights( aIntent, aContentUri, rejectReason );
+ TInt r = rightsClient.CheckRights( aIntent, aContentUri, rejectReason );
rightsClient.Close();
+ User::LeaveIfError( r );
return rejectReason;
}
@@ -1682,6 +1683,7 @@
RFile& aFile,
HBufC8*& aEmbeddedPreviewUri )
{
+
ContentAccess::CData* content( NULL );
TPtr ptr( NULL,0 );
TInt previewType = 0;