--- a/photosgallery/slideshow/engine/tsrc/t_cshweventrouter/t_cshweventrouter.cpp Wed Mar 31 21:31:03 2010 +0300
+++ b/photosgallery/slideshow/engine/tsrc/t_cshweventrouter/t_cshweventrouter.cpp Wed Apr 14 15:57:24 2010 +0300
@@ -204,13 +204,13 @@
observers.AppendL( this );
// add the array of observers
iRouter->AddObserversL( observers.Array() );
- CleanupStack::PopAndDestroy( observers );
+ CleanupStack::PopAndDestroy( &observers );
// add us as publisher
RPointerArray<MShwEventPublisher> publisher;
CleanupClosePushL( publisher );
publisher.AppendL( this );
iRouter->AddProducers( publisher.Array() );
- CleanupStack::PopAndDestroy( publisher );
+ CleanupStack::PopAndDestroy( &publisher );
T_TestEvent testEvent;
// set the event object pointer so that the notify can verify the event object