mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
fixed uninitialized variable in XULContentSinkImpl::Init()
This commit is contained in:
parent
5f91377e5e
commit
f6ea34953b
@ -873,7 +873,7 @@ XULContentSinkImpl::Init(nsIDocument* aDocument, nsIRDFDataSource* aDataSource)
|
||||
if (rdfRootDoc == nsnull) {
|
||||
NS_ERROR("Root document of a XUL fragment is not an RDF doc.");
|
||||
NS_RELEASE(rootDocument);
|
||||
return rv;
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIRDFDataSource> docDataSource;
|
||||
|
Loading…
Reference in New Issue
Block a user