--- a/omaprovisioning/provisioning/ProvisioningEngine/Src/CWPAdapterManager.cpp Thu Aug 19 10:44:50 2010 +0300
+++ b/omaprovisioning/provisioning/ProvisioningEngine/Src/CWPAdapterManager.cpp Tue Aug 31 16:04:06 2010 +0300
@@ -25,7 +25,7 @@
#include "MWPContextManager.h"
#include "MWPContextExtension.h"
#include "ProvisioningDebug.h"
-#include <mmf/common/mmfcontrollerpluginresolver.h>
+
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
@@ -239,7 +239,6 @@
// Place [0] is reserved for APPID parameter, [1] for APPREF parameter
// and [2] for storage id i.e. id that identifies the saved settings in its storage.
RPointerArray< HBufC8 > savingInfo;
- CleanupResetAndDestroy<RPointerArray<HBufC8> > :: PushL(savingInfo);
a->GetSavingInfoL( index, savingInfo );
// If the adapter had something to tell to the other adapters...
@@ -279,8 +278,8 @@
}// if
}// if
-
- CleanupStack :: PopAndDestroy(1); //savingInfo
+ savingInfo.ResetAndDestroy();
+ savingInfo.Close();
// Tell the adapters that all the settings have been now saved.
TInt quantityOfAdapter( iAdapters->Count() );