[Webkit-unassigned] [Bug 118297] [ATK] Leak: leaks in AccessibilityUIElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 2 07:43:28 PDT 2013


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





--- Comment #10 from Brian Holt <brian.holt at samsung.com>  2013-07-02 07:45:26 PST ---
(In reply to comment #9)
> (From update of attachment 205904 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=205904&action=review
> 
> >> Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:315
> >> +    GOwnPtr<char> attributeString(attributeSetToString(atk_object_get_attributes(ATK_OBJECT(m_element))));
> > 
> > There is indeed a leak here though. According to the doc:
> > https://developer.gnome.org/atk/unstable/AtkObject.html#atk-object-get-attributes
> > 
> > "This atkattributeset should be freed by a call to atk_attribute_set_free()."
> 
> And BTW, same issue in Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp. Maybe you can fix the leaks in WKTR as well in the same patch?

Absolutely :-)

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