harvester/common/src/harvestermediaidutil.cpp
branchRCL_3
changeset 19 b73252188534
parent 0 c53acadfccc6
equal deleted inserted replaced
18:63c982fb92f2 19:b73252188534
   134 		{
   134 		{
   135 		data->iRefCount--;
   135 		data->iRefCount--;
   136 		if (data->iRefCount <= 0)
   136 		if (data->iRefCount <= 0)
   137 			{
   137 			{
   138 			delete data->iMediaIdUtil;
   138 			delete data->iMediaIdUtil;
       
   139 			data->iMediaIdUtil = NULL;
   139 
   140 
   140 			delete data;
   141 			delete data;
       
   142 			data = NULL;
   141 			UserSvr::DllFreeTls(KHarvesterMediaIdTLSKey);
   143 			UserSvr::DllFreeTls(KHarvesterMediaIdTLSKey);
   142 			}
   144 			}
   143 		}
   145 		}
   144 	}
   146 	}