Fix for crash if -moz-binding points to an invalid file.

r=jst, sr=hyatt, b=81941

--pete


git-svn-id: svn://10.0.0.236/trunk@100524 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pete%alphanumerica.com 2001-08-07 21:12:02 +00:00
parent 5ae7ee3c2d
commit d24d14416b

View File

@ -310,6 +310,7 @@ nsXBLStreamListener::OnStopRequest(nsIRequest* request, nsISupports* aCtxt, nsre
nsXBLBindingRequest::Destroy(mXBLService->mPool, req);
}
mBindingRequests.Clear();
mDocument = nsnull;
mBindingDocument = nsnull;
}