Title: [153709] branches/safari-537-branch/Source/WTF
Revision
153709
Author
lforsch...@apple.com
Date
2013-08-05 10:20:48 -0700 (Mon, 05 Aug 2013)

Log Message

Merged r153455.  <rdar://problem/14528244>

Modified Paths

Diff

Modified: branches/safari-537-branch/Source/WTF/ChangeLog (153708 => 153709)


--- branches/safari-537-branch/Source/WTF/ChangeLog	2013-08-05 17:13:41 UTC (rev 153708)
+++ branches/safari-537-branch/Source/WTF/ChangeLog	2013-08-05 17:20:48 UTC (rev 153709)
@@ -1,3 +1,16 @@
+2013-08-05  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r153455
+
+    2013-07-29  Mark Rowe  <mr...@apple.com>
+
+            <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.
+
 2013-08-02  Lucas Forschler  <lforsch...@apple.com>
 
         Merge r153635

Modified: branches/safari-537-branch/Source/WTF/wtf/FastMalloc.cpp (153708 => 153709)


--- branches/safari-537-branch/Source/WTF/wtf/FastMalloc.cpp	2013-08-05 17:13:41 UTC (rev 153708)
+++ branches/safari-537-branch/Source/WTF/wtf/FastMalloc.cpp	2013-08-05 17:20:48 UTC (rev 153709)
@@ -1363,6 +1363,11 @@
         finder.visit(nextObject.value());
       }
     }
+
+    for (int slot = 0; slot < used_slots_; ++slot) {
+      for (HardenedSLL entry = tc_slots_[slot].head; entry; entry.setValue(reader.nextEntryInHardenedLinkedList(reinterpret_cast<void**>(entry.value()), entropy_)))
+        finder.visit(entry.value());
+    }
   }
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to