diff -r ce1c7ad1f18b -r bcb43dc84c44 photosgallery/slideshow/engine/coresrc/shwsettingsmodel.cpp --- a/photosgallery/slideshow/engine/coresrc/shwsettingsmodel.cpp Mon Mar 15 12:40:30 2010 +0200 +++ b/photosgallery/slideshow/engine/coresrc/shwsettingsmodel.cpp Wed Mar 31 21:31:03 2010 +0300 @@ -255,7 +255,7 @@ CShwSettingsModel* self = new(ELeave) CShwSettingsModel(); CleanupStack::PushL(self); self->ConstructL(); - CleanupStack::Pop(); + CleanupStack::Pop( self ); return self; }