Fixed https://bugs.webkit.org/show_bug.cgi?id=29941
[WebKit.git] / WebCore / ChangeLog
index bdae905efec5677e24282114071b58c9a8b96239..edc9450d269ce78d32864c984669818219c4eb75 100644 (file)
@@ -1,3 +1,18 @@
+2009-09-30  Geoffrey Garen  <ggaren@apple.com>
+
+        Reviewed by Mark Rowe.
+
+        Fixed https://bugs.webkit.org/show_bug.cgi?id=29941
+        REGRESSION (r48882-r48888): Many memory leaks on SnowLeopard leaks bot
+
+        Forgot to implement a destructor for JSDOMWindowBaseData, so it was
+        leaking its RefPtr data member.
+
+        * bindings/js/JSDOMWindowBase.cpp:
+        (WebCore::JSDOMWindowBase::destroyJSDOMWindowBaseData):
+        * bindings/js/JSDOMWindowBase.h:
+        (WebCore::JSDOMWindowBase::JSDOMWindowBaseData::JSDOMWindowBaseData::JSDOMWindowBaseData):
+
 2009-09-30  Dave Hyatt  <hyatt@apple.com>
 
         Reviewed by Tim Hatcher.