diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp index fe359611c75..6867fa7932d 100644 --- a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp +++ b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp @@ -2891,7 +2891,6 @@ nsChildContentList::Item(PRUint32 aIndex, nsIDOMNode** aReturn) content = (nsIContent *)mArray.ElementAt(aIndex); if (nsnull != content) { res = content->QueryInterface(kIDOMNodeIID, (void**)aReturn); - NS_RELEASE(content); } else { *aReturn = nsnull; diff --git a/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp b/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp index fe359611c75..6867fa7932d 100644 --- a/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp +++ b/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp @@ -2891,7 +2891,6 @@ nsChildContentList::Item(PRUint32 aIndex, nsIDOMNode** aReturn) content = (nsIContent *)mArray.ElementAt(aIndex); if (nsnull != content) { res = content->QueryInterface(kIDOMNodeIID, (void**)aReturn); - NS_RELEASE(content); } else { *aReturn = nsnull; diff --git a/mozilla/layout/html/tests/Rotate.html b/mozilla/layout/html/tests/Rotate.html index 3cbd9c26983..a148ca0eae7 100644 --- a/mozilla/layout/html/tests/Rotate.html +++ b/mozilla/layout/html/tests/Rotate.html @@ -57,7 +57,7 @@ function rotate2() { tparent.childNodes[0].insertBefore(img2, tparent.childNodes[0].childNodes[0]); } var int1 = setInterval(rotate, 1000, para, img1); -//var int2 = setInterval(rotate2, 1000) +var int2 = setInterval(rotate2, 1000)