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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 2 07:39:41 PDT 2013


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





--- Comment #8 from Brian Holt <brian.holt at samsung.com>  2013-07-02 07:41:38 PST ---
(In reply to comment #7)
> (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()."

Yes, I've just been discussing with Mario how to resolve this.  The best fix requires a specialisation of GOwnPtr so I'll propose that in a separate bug (coming shortly).

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