--- a/harvester/common/src/harvesterdata.cpp Fri Jul 23 10:03:59 2010 +0300
+++ b/harvester/common/src/harvesterdata.cpp Fri Aug 06 09:56:02 2010 +0300
@@ -29,7 +29,11 @@
CHarvesterData::CHarvesterData( const HBufC* aUri )
{
iUri = aUri;
+ iClientData = NULL;
+ iMdeObject = NULL;
+ iLocationData = NULL;
iIsBinary = ETrue;
+ iClientId = KNullUid;
}
//==========================================================================
@@ -229,6 +233,11 @@
//
EXPORT_C void CHarvesterData::SetMdeObject( CMdEObject* aMdeObject )
{
+ if( iMdeObject )
+ {
+ delete iMdeObject;
+ iMdeObject = NULL;
+ }
iMdeObject = aMdeObject;
}