upnpavcontroller/upnpavcontrollerhelper/src/upnpdownloaditemresolver.cpp
changeset 34 eab116a48b80
parent 0 7f85d04be362
--- a/upnpavcontroller/upnpavcontrollerhelper/src/upnpdownloaditemresolver.cpp	Tue Sep 21 11:21:11 2010 +0300
+++ b/upnpavcontroller/upnpavcontrollerhelper/src/upnpdownloaditemresolver.cpp	Mon Oct 04 13:32:20 2010 +0300
@@ -572,6 +572,7 @@
     // parse protocol info
     CUpnpDlnaProtocolInfo* pInfo = NULL;
     pInfo = CUpnpDlnaProtocolInfo::NewL( attr->Value() );
+    CleanupStack::PushL( pInfo );
     
     //if DLNA compliant item
     if ( pInfo->PnParameter() != KNullDesC8() )
@@ -590,6 +591,7 @@
             }
         
         }
+    CleanupStack::PopAndDestroy( pInfo );
     }