[Libreoffice-bugs] [Bug 112254] CuiAboutConfigTabPage::InsertEntry leaks memory

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 7 08:37:38 UTC 2017


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

--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
I noticed SvHeaderTabListBoxImpl hadn't destructor to call
pHeaderBar.disposeAndClear
483  namespace svt
484  {
485      struct SvHeaderTabListBoxImpl
486      {
487          VclPtr<HeaderBar>       m_pHeaderBar;
488          AccessibleFactoryAccess m_aFactoryAccess;
489  
490          SvHeaderTabListBoxImpl() : m_pHeaderBar( nullptr ) { }
491      };
492  }
(see
https://opengrok.libreoffice.org/xref/core/svtools/source/contnr/svtabbx.cxx#494)
I'll submit a patch for this if nobody does it before.

I'm not sure it's sufficient. I tried to follow the relationships of the
different classes involved, it's quite a maze to follow.

-- 
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/20170907/9fadfb9a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list