[Libreoffice-bugs] [Bug 111567] Template Manager memory leak in TemplateLocalView:: insertItems()

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 10 09:03:36 UTC 2017


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

--- Comment #5 from Noel Grandin <noelgrandin at gmail.com> ---
To me, looks like the bug is that 

   TemplateLocalView::insertItems()

calls 

   mItemList.clear();

at the top of it's code. It should not, it should leave the clearing and
deleting to 

  ThumbnailView::updateItems

which already handles it correctly.

Probably ThumbnailView should not be exposing it's mItemList member anyhow.

-- 
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/20170810/36a5be8b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list