--- a/devsoundextensions/drmaudioplayer/DRMPlayServer/src/DRMPlaySession.cpp Thu Oct 07 23:44:30 2010 +0100
+++ b/devsoundextensions/drmaudioplayer/DRMPlayServer/src/DRMPlaySession.cpp Mon Oct 18 12:47:26 2010 +0100
@@ -362,6 +362,7 @@
aMessage.Read(1,params);
aMessage.Read(2,iErrDurPckg);
HBufC16* inputBuf = HBufC16::NewL(aMessage.GetDesLengthL(3));
+ CleanupStack::PushL(inputBuf);
TPtr16 ptr = inputBuf->Des();
aMessage.Read(3,ptr);
const TDataStruct &theStruct = params();
@@ -371,6 +372,7 @@
*this,
iPriority,
iPref);
+ CleanupStack::Pop(inputBuf);
delete inputBuf;
}