vcl/generic/glyphs/glyphcache.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 20618ddc2793064c7c55d9c765a8113abb45b153 Author: Dennis Francis <dennisfrancis...@gmail.com> Date: Thu Aug 20 22:53:19 2015 +0530 fixes a memory leak that appeared in tdf#93392 valgrind trace Change-Id: Ifd4c6594d50ff63235e75049bc7ab8bc79606fc8 Reviewed-on: https://gerrit.libreoffice.org/17880 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/generic/glyphs/glyphcache.cxx b/vcl/generic/glyphs/glyphcache.cxx index c15e548..6f9e611 100644 --- a/vcl/generic/glyphs/glyphcache.cxx +++ b/vcl/generic/glyphs/glyphcache.cxx @@ -60,6 +60,8 @@ void GlyphCache::InvalidateAllGlyphs() for( FontList::iterator it = maFontList.begin(), end = maFontList.end(); it != end; ++it ) { ServerFont* pServerFont = it->second; + // free all pServerFont related data + pServerFont->GarbageCollect( mnLruIndex+0x10000000 ); mrPeer.RemovingFont(*pServerFont); delete pServerFont; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits