--- a/phonebookengines/VirtualPhonebook/VPbkVCardEng/src/CVPbkVCardData.cpp Mon Jun 21 15:24:27 2010 +0300
+++ b/phonebookengines/VirtualPhonebook/VPbkVCardEng/src/CVPbkVCardData.cpp Thu Jul 15 18:22:55 2010 +0300
@@ -36,6 +36,7 @@
#include <barsread.h>
#include <vcard.h>
+#include <versittls.h>
namespace
{
@@ -126,6 +127,7 @@
{
User::LeaveIfError( res );
}
+ iVersitTlsData = &CVersitTlsData::VersitTlsDataL();
}
CVPbkVCardData* CVPbkVCardData::NewL(CVPbkContactManager& aContactManager)
@@ -139,6 +141,10 @@
CVPbkVCardData::~CVPbkVCardData()
{
+ if (iVersitTlsData)
+ {
+ iVersitTlsData->VersitTlsDataClose();
+ }
delete iCopyPolicyManager;
iParamIdNameMappings.ResetAndDestroy();
iVNameIdNameMappings.ResetAndDestroy();