bug 378487. allocator mismatch in SpanningCellSorter. r+sr=bzbarsky
authorsayrer@gmail.com
Mon, 23 Apr 2007 11:40:07 -0700
changeset 736 f04db18b1bc7b9c7bb9366bd93484ceedced7e43
parent 735 2079444238835a595e15cfe11e59d7e863130840
child 737 08b777b6bcf1495be8f49619d9349569b90a5997
push idunknown
push userunknown
push dateunknown
bugs378487
milestone1.9a4pre
bug 378487. allocator mismatch in SpanningCellSorter. r+sr=bzbarsky
layout/tables/SpanningCellSorter.cpp
--- a/layout/tables/SpanningCellSorter.cpp
+++ b/layout/tables/SpanningCellSorter.cpp
@@ -56,17 +56,17 @@ SpanningCellSorter::SpanningCellSorter(n
 }
 
 SpanningCellSorter::~SpanningCellSorter()
 {
     if (mHashTable.entryCount) {
         PL_DHashTableFinish(&mHashTable);
         mHashTable.entryCount = 0;
     }
-    delete mSortedHashTable;
+    delete [] mSortedHashTable;
     mPresShell->PopStackMemory();
 }
 
 /* static */ PLDHashTableOps
 SpanningCellSorter::HashTableOps = {
     PL_DHashAllocTable,
     PL_DHashFreeTable,
     HashTableHashKey,