gRDFService->UnregisterDataSource(this);
InternetSearchDataSource::~InternetSearchDataSource (void){	if (--gRefCnt == 0)	{		NS_IF_RELEASE(kNC_SearchEngineRoot);		NS_IF_RELEASE(kNC_LastSearchRoot);		NS_IF_RELEASE(kNC_SearchCategoryRoot);		NS_IF_RELEASE(kNC_SearchResultsSitesRoot);		NS_IF_RELEASE(kNC_Ref);		NS_IF_RELEASE(kNC_Child);		NS_IF_RELEASE(kNC_Data);		NS_IF_RELEASE(kNC_Name);		NS_IF_RELEASE(kNC_URL);		NS_IF_RELEASE(kRDF_InstanceOf);		NS_IF_RELEASE(kRDF_type);		NS_IF_RELEASE(kNC_loading);		NS_IF_RELEASE(kNC_HTML);		NS_IF_RELEASE(kNC_Icon);		NS_IF_RELEASE(kNC_StatusIcon);		NS_IF_RELEASE(kNC_Banner);		NS_IF_RELEASE(kNC_Site);		NS_IF_RELEASE(kNC_Relevance);		NS_IF_RELEASE(kNC_RelevanceSort);		NS_IF_RELEASE(kNC_Engine);		NS_IF_RELEASE(mInner);		if (gRDFService)		{			nsServiceManager::ReleaseService(kRDFServiceCID, gRDFService);			gRDFService = nsnull;		}	}}