diff -r 63c982fb92f2 -r b73252188534 locationmanager/client/src/rlocationtrail.cpp --- a/locationmanager/client/src/rlocationtrail.cpp Thu Jul 15 19:07:24 2010 +0300 +++ b/locationmanager/client/src/rlocationtrail.cpp Thu Aug 19 10:20:41 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( aLocationData ); if ( iHandle && iCurrentLocData )