Comment #1 on issue 17184 by d...@chromium.org: Memory leaks in  
WebCore::Pasteboard::writeSelection()
http://code.google.com/p/chromium/issues/detail?id=17184

Also happens in Copy, in  
WebKit/LayoutTests/editing/pasteboard/3976872.html :

Valgrind complains:
1,206 (32 direct, 1,174 indirect) bytes in 1 blocks are definitely lost in  
loss record 820 of 936
    at malloc (vg_replace_malloc.c:193)
    by WTF::fastMalloc(unsigned int) (FastMalloc.cpp:225)
    by WebCore::StringImpl::operator new(unsigned int) (StringImpl.cpp:72)
    by WebCore::StringImpl::adopt(WTF::Vector<unsigned short, 0u>&)  
(StringImpl.cpp:985)
    by WebCore::createMarkup(WebCore::Range const*,  
WTF::Vector<WebCore::Node*, 0u>*,
WebCore::EAnnotateForInterchange, bool) (PlatformString.h:87)
    by WebCore::Pasteboard::writeSelection(WebCore::Range*, bool,  
WebCore::Frame*)
(PasteboardChromium.cpp:73)
    by WebCore::Editor::copy() (Editor.cpp:1042)
    by WebCore::executeCopy(WebCore::Frame*, WebCore::Event*,  
WebCore::EditorCommandSource,
WebCore::String const&) (EditorCommand.cpp:261)
    by WebCore::Editor::Command::execute(WebCore::String const&,  
WebCore::Event*) const
(EditorCommand.cpp:1480)
    by WebCore::Document::execCommand(WebCore::String const&, bool,  
WebCore::String const&)
(Document.cpp:3217)
    by WebCore::DocumentInternal::execCommandCallback(v8::Arguments const&)
(V8Document.cpp:653)
    by v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**)  
(builtins.cc:381)


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

Reply via email to