diff --git a/mozilla/content/xml/content/src/nsXMLElement.cpp b/mozilla/content/xml/content/src/nsXMLElement.cpp index edc2cf8e313..b9ec7f19540 100644 --- a/mozilla/content/xml/content/src/nsXMLElement.cpp +++ b/mozilla/content/xml/content/src/nsXMLElement.cpp @@ -91,8 +91,6 @@ NS_NewXMLElement(nsIContent** aInstancePtrResult, nsINodeInfo *aNodeInfo) *aInstancePtrResult = NS_STATIC_CAST(nsIXMLContent *, it); - NS_ADDREF(*aInstancePtrResult); - return NS_OK; }