The following two memory leaks found in AccessibilityUIElementGtk.cpp ==6395== 18 bytes in 1 blocks are definitely lost in loss record 1,979 of 10,539 ==6395== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6395== by 0xC38BA38: g_malloc (gmem.c:159) ==6395== by 0xC3A05B4: g_strconcat (gstrfuncs.c:581) ==6395== by 0x45A0F3: attributeSetToString(_GSList*) (AccessibilityUIElementGtk.cpp:144) ==6395== by 0x45A245: AccessibilityUIElement::allAttributes() (AccessibilityUIElementGtk.cpp:158) ==6395== by 0x44722A: allAttributesCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) (AccessibilityUIElement.cpp:41) ==6395== by 0x5244E27: JSC::JSCallbackFunction::call(JSC::ExecState*) (JSCallbackFunction.cpp:73) ==6395== by 0x54007D9: cti_op_call_NotJSFunction (JITStubs.cpp:2308) ==6395== by 0x53FBE00: JSC::JITThunks::tryCacheGetByID(JSC::ExecState*, JSC::CodeBlock*, JSC::ReturnAddressPtr, JSC::JSValue, JSC::Identifier const&, JSC::PropertySlot const&, JSC::StructureStubInfo*) ( ==6395== by 0x7FEFFDE0F: ??? ==6395== by 0x414E83F: ??? ==6395== by 0x27B0FD2F: ??? ==6395== by 0x416FA7F: ??? ==6395== ==6395== 32 bytes in 1 blocks are definitely lost in loss record 3,319 of 10,539 ==6395== at 0x4C2B7B2: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6395== by 0xC38BAF6: g_realloc (gmem.c:224) ==6395== by 0xC3A25C6: g_string_maybe_expand (gstring.c:102) ==6395== by 0xC3A28D6: g_string_insert_len (gstring.c:444) ==6395== by 0x45A105: attributeSetToString(_GSList*) (AccessibilityUIElementGtk.cpp:144) ==6395== by 0x45A245: AccessibilityUIElement::allAttributes() (AccessibilityUIElementGtk.cpp:158) ==6395== by 0x44722A: allAttributesCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) (AccessibilityUIElement.cpp:41) ==6395== by 0x5244E27: JSC::JSCallbackFunction::call(JSC::ExecState*) (JSCallbackFunction.cpp:73) ==6395== by 0x54007D9: cti_op_call_NotJSFunction (JITStubs.cpp:2308) ==6395== by 0x53FBE00: JSC::JITThunks::tryCacheGetByID(JSC::ExecState*, JSC::CodeBlock*, JSC::ReturnAddressPtr, JSC::JSValue, JSC::Identifier const&, JSC::PropertySlot const&, JSC::StructureStubInfo*) ( ==6395== by 0x7FEFFDE0F: ??? ==6395== by 0x414F1BF: ??? ==6395== by 0x27B0FD2F: ??? ==6395== by 0x416FA7F: ???
Created attachment 145571 [details] Patch Fixed memory leaks in AccessibilityUIElementGtk.cpp
Created attachment 145606 [details] Patch Fixed two leaks in AccessibilityUIElementGtk.cpp
Comment on attachment 145606 [details] Patch Clearing flags on attachment: 145606 Committed r119422: <http://trac.webkit.org/changeset/119422>
All reviewed patches have been landed. Closing bug.