--- a/upnpsharing/upnpdlnaprofiler/src/upnpdlnaprofiler.cpp Tue Sep 21 11:21:11 2010 +0300
+++ b/upnpsharing/upnpdlnaprofiler/src/upnpdlnaprofiler.cpp Mon Oct 04 13:32:20 2010 +0300
@@ -62,13 +62,19 @@
{
__LOG( "[UPnPDlnaProfiler] ConstructL" );
CUpnpAudioSolverBase* baseAudioSolver = CUpnpAudioSolverBase::NewL();
+ CleanupStack::PushL( baseAudioSolver );
iAudioSolvers.AppendL( baseAudioSolver );
+ CleanupStack::Pop( baseAudioSolver );
CUpnpAvSolverBase* baseAvSolver = CUpnpAvSolverBase::NewL();
+ CleanupStack::PushL( baseAvSolver );
iAvSolvers.AppendL( baseAvSolver );
+ CleanupStack::Pop( baseAvSolver );
CUpnpImageSolverBase* baseImageSolver = CUpnpImageSolverBase::NewL();
+ CleanupStack::PushL( baseImageSolver );
iImageSolvers.AppendL( baseImageSolver );
+ CleanupStack::Pop( baseImageSolver );
}