--- a/locationmanager/client/src/rlocationtrail.cpp Tue Jul 06 14:44:37 2010 +0300
+++ b/locationmanager/client/src/rlocationtrail.cpp Fri Sep 17 16:54:49 2010 +0300
@@ -31,6 +31,7 @@
EXPORT_C RLocationTrail::~RLocationTrail()
{
delete iCurrentLocData;
+ iCurrentLocData = NULL;
}
// --------------------------------------------------------------------------
@@ -148,6 +149,7 @@
LOG( "RLocationTrail::CurrentLocation(), begin" );
delete iCurrentLocData;
+ iCurrentLocData = NULL;
iCurrentLocData = new TPckg<TLocationData>( aLocationData );
if ( iHandle && iCurrentLocData )