--- a/locationmanager/locationtrail/src/ctracklog.cpp Wed Jul 14 07:57:22 2010 +0300
+++ b/locationmanager/locationtrail/src/ctracklog.cpp Fri Jul 23 10:03:59 2010 +0300
@@ -68,6 +68,7 @@
EXPORT_C CTrackLog::~CTrackLog()
{
delete iGpxConverter;
+ iGpxConverter = NULL;
iFs.Close();
}
@@ -201,6 +202,7 @@
if ( err == KErrNone )
{
delete lastCoords;
+ lastCoords = NULL;
lastCoords = new TCoordinate( aTrailItem.iLocationData.iPosition );
iBoundaries->distance += distance;
}
@@ -306,7 +308,9 @@
}
}
delete filename;
+ filename = NULL;
delete files;
+ files = NULL;
}
void CTrackLog::ReadCenRepValueL(TInt aKey, TInt& aValue)