Memory leak related to tdf#93392

Dennis Francis dennisfrancis.in at gmail.com
Thu Aug 20 03:14:59 PDT 2015


Hi

I ran valgrind on soffice built on master and I am investigating the trace
posted at http://pastebin.ca/3117264

It seems to suggest that not all objects of type SvpGcpHelper are
deallocated.
The SvpGcpHelper objects are deleted directly by
SvpGlyphPeer::RemovingGlyph.
This function is getting called by GlyphCache::RemovingGlyph, which in turn
is called by
ServerFont::GarbageCollect.

GlyphCache::GarbageCollect calls ServerFont::GarbageCollect. But does not
look like GarbageCollect()'s clears _all_ SvpGcpHelper objects.

Should not SvpGcpHelper objects be cleaned up completely in one of the
destructors ? If so could someone please point to the object whose
destructor should be deleting all remaining SvpGcpHelper objects ?

Thanks,
Dennis

http://www.ldcs.co.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150820/466f63b6/attachment.html>


More information about the LibreOffice mailing list