Reviewed by Oliver.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2007 06:07:42 +0000 (06:07 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jan 2007 06:07:42 +0000 (06:07 +0000)
        - fix crash seen in layout tests

        * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
        Add back the line of code that sets savedMouseEvents to nil. I thought it was
        a field of the EventSendingController, but it's actually a global.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/EventSendingController.m

index 0207e99..f504022 100644 (file)
@@ -1,5 +1,15 @@
 2007-01-24  Darin Adler  <darin@apple.com>
 
+        Reviewed by Oliver.
+
+        - fix crash seen in layout tests
+
+        * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
+        Add back the line of code that sets savedMouseEvents to nil. I thought it was
+        a field of the EventSendingController, but it's actually a global.
+
+2007-01-24  Darin Adler  <darin@apple.com>
+
         Reviewed by Maciej.
 
         - changed dragMode to be a property instead of a function
index 933401a..8a8f433 100644 (file)
@@ -147,6 +147,7 @@ BOOL replayingSavedEvents;
 - (void)dealloc
 {
     [savedMouseEvents release];
+    savedMouseEvents = nil;
     [super dealloc];
 }