[Webkit-unassigned] [Bug 106342] [GTK][WK2] accessibility/language-attribute.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 18 06:40:24 PDT 2013


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





--- Comment #4 from Krzysztof Czech <k.czech at samsung.com>  2013-04-18 06:38:42 PST ---
> You are leaking both the returned GSList* and the data in each of its elements here, since atk_text_get_default_attributes() is transfer-full.
> 
> So, you should use a GOwnPtr<GSList> for that least, although you would still need to make sure that both the AtkAttribute structs and the gchar* pointers inside them (name, value) are freed before returning from this function.

Good point. Applied suggestions.

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