Fix for bug 483444. r/sr=mrbkap.
authorPeter Van der Beken <peterv@propagandism.org>
Tue, 31 Mar 2009 15:07:41 +0200
changeset 26763 6be868e5714cdcf387c9316d204b8c208d720ea5
parent 26762 a5556353ba2cc53df231b28ae05c6bc6dc6a878c
child 26764 45fc547f59ff9b23ae95bfa60ce367c511cdfbaa
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs483444
milestone1.9.2a1pre
Fix for bug 483444. r/sr=mrbkap.
content/xslt/src/xslt/txStylesheet.cpp
--- a/content/xslt/src/xslt/txStylesheet.cpp
+++ b/content/xslt/src/xslt/txStylesheet.cpp
@@ -553,17 +553,16 @@ txStylesheet::addAttributeSet(txAttribut
     }
 
     rv = mAttributeSets.set(aAttributeSetItem->mName,
                             aAttributeSetItem->mFirstInstruction);
     NS_ENSURE_SUCCESS(rv, rv);
 
     aAttributeSetItem->mFirstInstruction.forget();
 
-    delete lastNonReturn->mNext;      // Delete the txReturn...
     lastNonReturn->mNext = oldInstr;  // ...and link up the old instructions.
 
     return NS_OK;
 }
 
 nsresult
 txStylesheet::addGlobalVariable(txVariableItem* aVariable)
 {