nsServiceManager::ReleaseService("component:
if (gRDF) { nsServiceManager::ReleaseService("component: gRDF = nsnull; } if (gTextToSubURI) { nsServiceManager::ReleaseService(NS_ITEXTTOSUBURI_PROGID, gTextToSubURI); gTextToSubURI = nsnull; }
nsHTTPIndexParser::~nsHTTPIndexParser(){  if (--gRefCntParser == 0) {    NS_IF_RELEASE(kHTTPIndex_Comment);    NS_IF_RELEASE(kHTTPIndex_Filename);    NS_IF_RELEASE(kHTTPIndex_Filetype);    NS_IF_RELEASE(kHTTPIndex_Loading);    NS_IF_RELEASE(kTrueLiteral);    for (Field* field = gFieldTable; field->mName; ++field) {      NS_IF_RELEASE(field->mProperty);    }    nsServiceManager::ReleaseService("component://netscape/rdf/rdf-service", gRDF);  }}