Reviewed by Eric.
authortomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2006 22:42:04 +0000 (22:42 +0000)
committertomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Apr 2006 22:42:04 +0000 (22:42 +0000)
        <rdar://problem/4526120> -[WebBasePluginPackage finalize] leaks the CFBundle (under GC only)

        * Plugins/WebBasePluginPackage.m:
        (-[WebBasePluginPackage finalize]):
        Release the CFBundle here.

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

WebKit/ChangeLog
WebKit/Plugins/WebBasePluginPackage.m

index a780c7d50e7b4c273731425b142743a07369661a..60382a98665fb63875eaf6d67827da5a8a1eac95 100644 (file)
@@ -1,3 +1,13 @@
+2006-04-25  Tim Omernick  <timo@apple.com>
+
+        Reviewed by Eric.
+
+        <rdar://problem/4526120> -[WebBasePluginPackage finalize] leaks the CFBundle (under GC only)
+
+        * Plugins/WebBasePluginPackage.m:
+        (-[WebBasePluginPackage finalize]):
+        Release the CFBundle here.
+
 2006-04-25  Tim Omernick  <timo@apple.com>
 
         Reviewed by Geoff.
index 0281e7472044ba5d64dca92d281ed545c7d7a3be..29d4f8f459c45f200c744f2fe21dd2b6a11863c8 100644 (file)
 {
     ASSERT(!isLoaded);
 
+    if (cfBundle)
+        CFRelease(cfBundle);
+
     [super finalize];
 }