Changeset 152298 in webkit
- Timestamp:
- Jul 2, 2013, 9:50:49 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r152295 r152298 1 2013-07-02 Brian Holt <brian.holt@samsung.com> 2 3 [ATK] Leak: leaks in AccessibilityUIElement 4 https://bugs.webkit.org/show_bug.cgi?id=118297 5 6 Fixed memory leak. 7 8 Reviewed by Christophe Dumez. 9 10 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: 11 (AccessibilityUIElement::stringValue): 12 1 13 2013-07-02 Byungwoo Lee <bw80.lee@samsung.com> 2 14 -
trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp
r151831 r152298 421 421 return JSStringCreateWithCharacters(0, 0); 422 422 423 gchar* text = atk_text_get_text(ATK_TEXT(m_element), 0, -1);424 GOwnPtr<gchar> axValue(g_strdup_printf("AXValue: %s", replaceCharactersForResults(text)));425 g_free(text);423 GOwnPtr<gchar> text(atk_text_get_text(ATK_TEXT(m_element), 0, -1)); 424 GOwnPtr<gchar> textWithReplacedCharacters(replaceCharactersForResults(text.get())); 425 GOwnPtr<gchar> axValue(g_strdup_printf("AXValue: %s", textWithReplacedCharacters.get())); 426 426 427 427 return JSStringCreateWithUTF8CString(axValue.get());
Note:
See TracChangeset
for help on using the changeset viewer.