[Webkit-unassigned] [Bug 112913] New: [ATK] [WebKit2] AccessibilityUIElement often leaks it's AtkObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 21 07:30:21 PDT 2013


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

           Summary: [ATK] [WebKit2] AccessibilityUIElement often leaks
                    it's AtkObject
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mrobinson at webkit.org
                CC: jdiggs at igalia.com, mario at webkit.org,
                    k.czech at samsung.com


AccessibilityUIElements are created often by passing the result of atk_object_ref_accessible_child, which returns a new reference (transfer full). AccessibilityUIElement::~AccessibilityUIElement does not decrement the reference count of the element, so it will leak. Instead AccessibilityUIElement should have a RefPtr to the element and the constructor should be carefully not to leak when assigning the value to the RefPtr.

-- 
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