if (mResources) { PL_HashTableDestroy(mResources); mResources = nsnull; } if (mLiterals) { PL_HashTableDestroy(mLiterals); mLiterals = nsnull; }
PL_DHashTableFinish(&mResources); PL_DHashTableFinish(&mLiterals); PL_DHashTableFinish(&mInts); PL_DHashTableFinish(&mDates);
RDFServiceImpl::~RDFServiceImpl(){#ifdef DEBUG_REFS    --gInstanceCount;    fprintf(stdout, "%d - RDF: RDFServiceImpl\n", gInstanceCount);#endif    if (mNamedDataSources) {        PL_HashTableDestroy(mNamedDataSources);        mNamedDataSources = nsnull;    }    if (mResources) {        PL_HashTableDestroy(mResources);        mResources = nsnull;    }    if (mLiterals) {        PL_HashTableDestroy(mLiterals);        mLiterals = nsnull;    }    gRDFService = nsnull;}