[Libreoffice-bugs] [Bug 112395] SfxBoolItem::Clone(SfxItemPool*) leaks memory

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 2 12:02:58 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112395

--- Comment #5 from Caolán McNamara <caolanm at redhat.com> ---
you may have e.g. moved the body of the ctors from the hxx to a cxx but then
didn't do a top-level make, leaving some original inlined ctors in use, or
something like that.

In this case I rather feel the thing that is leaking is ItemPools, i.e.
editeng/source/editeng/editeng.cxx:2580 the pGlobalPool which in its ctor will
eventually put a SfxBoolItem in there and the BoolItem leaks because its own
that pGlobalPool leaks. And there's another bunch of static globals which take
the address of that global so this is fraught with pain to get the memory
released in a way that makes leak tools happy without causing some crash or
other

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171002/6e69dc63/attachment.html>


More information about the Libreoffice-bugs mailing list