NS_RELEASE(resource);
PRUnichar* id = NS_REINTERPRET_CAST(PRUnichar*, NS_CONST_CAST(void*, aHashEntry->key));  nsMemory::Free(id);
nsElementMap::ReleaseContentList(PLHashEntry* aHashEntry, PRIntn aIndex, void* aClosure){    nsIRDFResource* resource =        NS_REINTERPRET_CAST(nsIRDFResource*, NS_CONST_CAST(void*, aHashEntry->key));    NS_RELEASE(resource);            ContentListItem* head =        (ContentListItem*) aHashEntry->value;    while (head) {        ContentListItem* doomed = head;        head = head->mNext;        delete doomed;    }    return HT_ENUMERATE_NEXT;}