diff -r 6ac064bb53eb -r eab116a48b80 upnpavcontroller/upnpavcontrollerhelper/src/upnpdownloaditemresolver.cpp --- 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 ); }