[Webkit-unassigned] [Bug 45704] New: Potential leak in JSSVGDynamicPODTypeWrapper

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 13:35:09 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45704

           Summary: Potential leak in JSSVGDynamicPODTypeWrapper
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: ggaren at apple.com, zimmermann at kde.org


JSSVGDynamicPODTypeWrapper inherits from RefCounted (via JSSVGPODTypeWrapper), but RefCounted will not call its virtual destructor. So, data members of JSSVGDynamicPODTypeWrapper will not be destructed in the normal course of RefCounted lifetime.

I think the original issue is that JSSVGPODTypeWrapper should not have inherited from RefCounted, and then someone fell into the trap of actually doing meaningful work in the destructor.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list