branch | RCL_3 |
changeset 59 | 1aa6688bfd6b |
parent 33 | 50974a8b132e |
child 65 | 0b68a1b0c15e |
--- a/serviceproviders/sapi_contacts_vpbk/tsrc/dev/tcontacts_sync/src/tcontacts_sync_blocks.cpp Tue May 11 17:01:36 2010 +0300 +++ b/serviceproviders/sapi_contacts_vpbk/tsrc/dev/tcontacts_sync/src/tcontacts_sync_blocks.cpp Tue May 25 13:38:11 2010 +0300 @@ -23,7 +23,7 @@ #include <StifParser.h> #include <StifTestInterface.h> #include <VPbkEng.rsg> - +#include <mmfcontrollerpluginresolver.h> #include <MVPbkContactFieldTextData.h> #include <MVPbkContactStoreList.h> #include <MVPbkContactOperationBase.h> @@ -582,7 +582,8 @@ //Check for contact void CContactsUT::CheckContactsL(TInt& aCount,RPointerArray<TDesC8>& aIdArray) - { + { + CleanupResetAndDestroyPushL(aIdArray); // Print to UI _LIT( KContactsTest, "ContactsUT" ); _LIT( KExample, "In CheckContactsL" ); @@ -608,7 +609,8 @@ } delete iFindResults; iFindResults = NULL; - // __UHEAP_MARKENDC(aCount); + // __UHEAP_MARKENDC(aCount); + CleanupStack::Pop(&aIdArray); } // -----------------------------------------------------------------------------