Status: Untriaged Owner: d...@chromium.org Labels: Type-Bug Pri-2 OS-Linux Area-Webkit Size-Medium Valgrind
New issue 17187 by d...@chromium.org: Memory leak in WebCore::ChromiumBridge::clipboardWriteImage() http://code.google.com/p/chromium/issues/detail?id=17187 Another leak found today by running sh tools/valgrind/valgrind_webkit_tests.sh LayoutTests/editing/pasteboard & (see the very similar bug 17184) This one happens in e.g. WebKit/LayoutTests/editing/pasteboard/copy-standalone-image.html though you probably have to run all the tests in WebKit/LayoutTests/editing/pasteboard to reproduce it (valgrind bug?). Valgrind complains: 278 bytes in 1 blocks are definitely lost in loss record 609 of 823 at malloc (vg_replace_malloc.c:193) by WTF::fastMalloc(unsigned int) (FastMalloc.cpp:225) by WebCore::StringImpl::createUninitialized(unsigned int, unsigned short*&) (StringImpl.cpp:999) by WebCore::StringImpl::create(unsigned short const*, unsigned int) (StringImpl.cpp:1012) by WebKit::WebString::assign(unsigned short const*, unsigned int) (WebString.cpp:57) by MockWebClipboardImpl::writeImage(WebKit::WebImage const&, WebKit::WebURL const&, WebKit::WebString const&) (WebString.h:95) by WebCore::ChromiumBridge::clipboardWriteImage(NativeImageSkia const*, WebCore::KURL const&, WebCore::String const&) (ChromiumBridge.cpp:122) by WebCore::Pasteboard::writeImage(WebCore::Node*, WebCore::KURL const&, WebCore::String const&) (PasteboardChromium.cpp:132) by WebCore::Editor::copy() (Editor.cpp:1040) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---