Changeset 152371 in webkit
- Timestamp:
- Jul 3, 2013 11:50:24 AM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r152366 r152371 1 2013-07-03 Brian Holt <brian.holt@samsung.com> 2 3 [ATK] Leak: more leaks in AccessibilityUIElement 4 https://bugs.webkit.org/show_bug.cgi?id=118362 5 6 Reviewed by Christophe Dumez. 7 8 Free the memory created by g_strdup_printf. 9 10 * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: 11 (AccessibilityUIElement::language): 12 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 13 (WTR::AccessibilityUIElement::language): 14 1 15 2013-07-03 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp
r152298 r152371 437 437 return JSStringCreateWithCharacters(0, 0); 438 438 439 return JSStringCreateWithUTF8CString(g_strdup_printf("AXLanguage: %s", locale)); 439 GOwnPtr<char> axValue(g_strdup_printf("AXLanguage: %s", locale)); 440 return JSStringCreateWithUTF8CString(axValue.get()); 440 441 } 441 442 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r151831 r152371 623 623 return JSStringCreateWithCharacters(0, 0); 624 624 625 return JSStringCreateWithUTF8CString(g_strdup_printf("AXLanguage: %s", locale)); 625 GOwnPtr<char> axValue(g_strdup_printf("AXLanguage: %s", locale)); 626 return JSStringCreateWithUTF8CString(axValue.get()); 626 627 } 627 628
Note: See TracChangeset
for help on using the changeset viewer.