--- a/photosgallery/slideshow/engine/tsrc/t_cshwmusiccontrol/t_cshwmusiccontrol.cpp Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/slideshow/engine/tsrc/t_cshwmusiccontrol/t_cshwmusiccontrol.cpp Wed Mar 31 21:31:03 2010 +0300
@@ -36,8 +36,7 @@
T_CShwMusicControl* T_CShwMusicControl::NewL()
{
T_CShwMusicControl* self = T_CShwMusicControl::NewLC();
- CleanupStack::Pop();
-
+ CleanupStack::Pop( self );
return self;
}
@@ -45,9 +44,7 @@
{
T_CShwMusicControl* self = new( ELeave ) T_CShwMusicControl;
CleanupStack::PushL( self );
-
self->ConstructL();
-
return self;
}
@@ -80,7 +77,7 @@
void T_CShwMusicControl::SendEventL(MShwEvent* aEvent)
{
iEvent = aEvent->CloneLC();
- CleanupStack::Pop();
+ CleanupStack::Pop( iEvent );
}
TBool gMusicOnCalled = EFalse;