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

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


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





--- Comment #9 from Christophe Dumez <dchris at gmail.com>  2013-07-02 07:43:05 PST ---
(From update of attachment 205904)
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?

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