diff -r 1790c2f1027c -r 0b68a1b0c15e serviceproviders/sapi_contacts_vpbk/contactservice/src/singlecontactfield.cpp --- a/serviceproviders/sapi_contacts_vpbk/contactservice/src/singlecontactfield.cpp Thu Aug 19 10:46:25 2010 +0300 +++ b/serviceproviders/sapi_contacts_vpbk/contactservice/src/singlecontactfield.cpp Tue Aug 31 16:06:03 2010 +0300 @@ -18,7 +18,7 @@ #include #include -#include + #include "singlecontact.h" #include "singlecontactfield.h" @@ -143,7 +143,6 @@ EXPORT_C void CSingleContactField::GetUriFieldParamL(RPointerArray& axspidArray) { - CleanupResetAndDestroyPushL(axspidArray); TInt count = iidArray.Count(); if(count != 0) { @@ -156,8 +155,7 @@ else { User::Leave(KErrNotFound); - } - CleanupStack::Pop(&axspidArray); + } } //Gets the Group Data and returns them as output parameters @@ -235,7 +233,6 @@ EXPORT_C void CSingleContactField::GetXspidDataL(RPointerArray& axspidArray) { - CleanupResetAndDestroyPushL(axspidArray); TInt count = iArrayValue.Count(); if(count != 0) { @@ -250,8 +247,7 @@ else { User::Leave(KErrNotFound); - } - CleanupStack::Pop(&axspidArray); + } } CSingleContactField::~CSingleContactField() {