diff -r 5cc91383ab1e -r 7333d7932ef7 installationservices/swi/source/swis/server/planner.cpp --- a/installationservices/swi/source/swis/server/planner.cpp Thu Aug 19 10:02:49 2010 +0300 +++ b/installationservices/swi/source/swis/server/planner.cpp Tue Aug 31 15:21:33 2010 +0300 @@ -355,7 +355,6 @@ { // We are removing items from array (aProcessPackages)and thus require index // adjustment. But if loop run in reverse order there is no need to adjust the index - CleanupResetAndDestroyPushL(aPlannedPackages); for (TInt i = aProcessPackages.Count() - 1; i >= 0; --i) { // Ignore already added package @@ -398,7 +397,6 @@ aProcessPackages.Remove(i); CleanupStack::PopAndDestroy(®istryEntry); } - CleanupStack::Pop(&aPlannedPackages); } /** @@ -521,7 +519,6 @@ User::Leave(err); } } - CleanupStack::Pop(rootApplication); return rootApplication; @@ -536,14 +533,13 @@ */ void CPlanner::ConfirmForUninstallL(CUninstallationNode& aNode, RPointerArray& aPlannedPackages) { - CleanupResetAndDestroyPushL(aPlannedPackages); aNode.SetIsPlanned(ETrue); // aNode owns package therefore to transfer the ownership // a copy of CSisRegistryPackage is made. CSisRegistryPackage* package = CSisRegistryPackage::NewLC(aNode.PackageL()); aPlannedPackages.AppendL(package); - CleanupStack::Pop(2, &aPlannedPackages); + CleanupStack::Pop(package); } /**