diff -r 63c982fb92f2 -r b73252188534 harvester/common/src/harvestermediaidutil.cpp --- a/harvester/common/src/harvestermediaidutil.cpp Thu Jul 15 19:07:24 2010 +0300 +++ b/harvester/common/src/harvestermediaidutil.cpp Thu Aug 19 10:20:41 2010 +0300 @@ -136,8 +136,10 @@ if (data->iRefCount <= 0) { delete data->iMediaIdUtil; + data->iMediaIdUtil = NULL; delete data; + data = NULL; UserSvr::DllFreeTls(KHarvesterMediaIdTLSKey); } }