BUILD FIX (r146558): Call [super dealloc] from -[TinyDOMNode dealloc]
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2013 13:35:00 +0000 (13:35 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2013 13:35:00 +0000 (13:35 +0000)
<http://webkit.org/b/112608>

Fixes the following build failure:

    Source/JavaScriptCore/API/tests/testapi.mm:205:1: error: method possibly missing a [super dealloc] call [-Werror,-Wobjc-missing-super-calls]
    }
    ^
    1 error generated.

* API/tests/testapi.mm:
(-[TinyDOMNode dealloc]): Call [super dealloc].

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

Source/JavaScriptCore/API/tests/testapi.mm
Source/JavaScriptCore/ChangeLog

index ca606c8..76d82f5 100644 (file)
@@ -202,6 +202,8 @@ static JSVirtualMachine *sharedInstance = nil;
     id nextChild;
     while ((nextChild = [enumerator nextObject]))
         [[TinyDOMNode sharedVirtualMachine] removeManagedReference:nextChild withOwner:self];
+
+    [super dealloc];
 }
 
 - (void)appendChild:(TinyDOMNode *)child
index d77a7a5..d942f48 100644 (file)
@@ -1,3 +1,18 @@
+2013-03-22  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX (r146558): Call [super dealloc] from -[TinyDOMNode dealloc]
+        <http://webkit.org/b/112608>
+
+        Fixes the following build failure:
+
+            Source/JavaScriptCore/API/tests/testapi.mm:205:1: error: method possibly missing a [super dealloc] call [-Werror,-Wobjc-missing-super-calls]
+            }
+            ^
+            1 error generated.
+
+        * API/tests/testapi.mm:
+        (-[TinyDOMNode dealloc]): Call [super dealloc].
+
 2013-03-22  Ryosuke Niwa  <rniwa@webkit.org>
 
         Leak bots erroneously report JSC::WatchpointSet as leaking