Changeset 153455 in webkit


Ignore:
Timestamp:
Jul 29, 2013 8:33:57 PM (11 years ago)
Author:
mrowe@apple.com
Message:

<rdar://problem/14528244> Tons of FastMalloc leaks reported by leaks of objects that have already been deallocated

Reviewed by Sam Weinig.

  • wtf/FastMalloc.cpp:

(WTF::TCMalloc_Central_FreeList::enumerateFreeObjects): Mark objects in the transfer cache as being free.

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r153440 r153455  
     12013-07-29  Mark Rowe  <mrowe@apple.com>
     2
     3        <rdar://problem/14528244> Tons of FastMalloc leaks reported by leaks of objects that have already been deallocated
     4
     5        Reviewed by Sam Weinig.
     6
     7        * wtf/FastMalloc.cpp:
     8        (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects): Mark objects in the transfer cache as being free.
     9
    1102013-07-29  Zan Dobersek  <zdobersek@igalia.com>
    211
  • trunk/Source/WTF/wtf/FastMalloc.cpp

    r153189 r153455  
    13651365      }
    13661366    }
     1367
     1368    for (int slot = 0; slot < used_slots_; ++slot) {
     1369      for (HardenedSLL entry = tc_slots_[slot].head; entry; entry.setValue(reader.nextEntryInHardenedLinkedList(reinterpret_cast<void**>(entry.value()), entropy_)))
     1370        finder.visit(entry.value());
     1371    }
    13671372  }
    13681373#endif
Note: See TracChangeset for help on using the changeset viewer.