Reviewed by Anders.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Oct 2006 07:30:44 +0000 (07:30 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Oct 2006 07:30:44 +0000 (07:30 +0000)
        <rdar://problem/4785575> REGRESSION: form resubmission warning occurs twice, then Safari crashes in autorelease pool
        <rdar://problem/4799383> REGRESSION: Crash occurs when dismissing the "Would you like to save this password" sheet

        * WebView/WebPolicyDeciderMac.m:
        (-[WebPolicyDeciderMac dealloc]): release the listener, don't dealloc it

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

WebKit/ChangeLog
WebKit/WebView/WebPolicyDeciderMac.m

index d82a0d16f0d4a1d522d58954b51c8d4d2c017fcd..68b33bf78f974b3f65a4384810c7f0e71ce515f7 100644 (file)
@@ -1,3 +1,13 @@
+2006-10-25  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Anders.
+        
+        <rdar://problem/4785575> REGRESSION: form resubmission warning occurs twice, then Safari crashes in autorelease pool
+        <rdar://problem/4799383> REGRESSION: Crash occurs when dismissing the "Would you like to save this password" sheet
+
+        * WebView/WebPolicyDeciderMac.m:
+        (-[WebPolicyDeciderMac dealloc]): release the listener, don't dealloc it
+
 2006-10-24  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Darin.
index 8e4758898993d37a9e7fdac3e2ddb1674021a2f6..6ed5cb18fa61890251b32e4d2c6cbd85146ed61d 100644 (file)
@@ -44,7 +44,7 @@
 
 - (void)dealloc
 {
-    [decisionListener dealloc];
+    [decisionListener release];
     [super dealloc];
 }