if (mParent) { mParent->RemoveChildGroup(this); mParent = nsnull; }
if (mParent) { mParent->RemoveChildGroup(this); NS_RELEASE(mParent); }
nsDocLoaderImpl::Destroy(){  Stop();// Remove the document loader from the parent list of loaders...  if (mParent)   {    mParent->RemoveChildGroup(this);    mParent = nsnull;  }  ClearRequestInfoList();  mDocumentRequest = 0;  mLoadGroup->SetGroupObserver(nsnull);  return NS_OK;}