diff --git a/mozilla/content/base/src/nsDOMAttributeMap.cpp b/mozilla/content/base/src/nsDOMAttributeMap.cpp index 1168fa0cf18..bcd0b21a489 100644 --- a/mozilla/content/base/src/nsDOMAttributeMap.cpp +++ b/mozilla/content/base/src/nsDOMAttributeMap.cpp @@ -342,7 +342,6 @@ nsDOMAttributeMap::SetNamedItem(nsIDOMNode *aNode, nsIDOMNode **aReturn) else { attrPrivate->SetContent(mContent); attrPrivate->SetName(name); - NS_RELEASE(attrPrivate); // Add the new attribute node to the hash table (maintaining // a reference to it) diff --git a/mozilla/layout/base/src/nsDOMAttributeMap.cpp b/mozilla/layout/base/src/nsDOMAttributeMap.cpp index 1168fa0cf18..bcd0b21a489 100644 --- a/mozilla/layout/base/src/nsDOMAttributeMap.cpp +++ b/mozilla/layout/base/src/nsDOMAttributeMap.cpp @@ -342,7 +342,6 @@ nsDOMAttributeMap::SetNamedItem(nsIDOMNode *aNode, nsIDOMNode **aReturn) else { attrPrivate->SetContent(mContent); attrPrivate->SetName(name); - NS_RELEASE(attrPrivate); // Add the new attribute node to the hash table (maintaining // a reference to it)