upnpavcontroller/upnpavcontrollerserver/src/upnpavcontrollerserver.cpp
changeset 34 eab116a48b80
parent 0 7f85d04be362
--- a/upnpavcontroller/upnpavcontrollerserver/src/upnpavcontrollerserver.cpp	Tue Sep 21 11:21:11 2010 +0300
+++ b/upnpavcontroller/upnpavcontrollerserver/src/upnpavcontrollerserver.cpp	Mon Oct 04 13:32:20 2010 +0300
@@ -739,7 +739,9 @@
         if( iStartMessages.Count() > 0 )
             {
             RMessage2* message = new (ELeave) RMessage2( aMessage );
+            CleanupStack::PushL( message);
             iStartMessages.AppendL( message );
+            CleanupStack::Pop( message );
             }
         else
             {