[Poppler-bugs] [Bug 91055] New: poppler SplashFontSrc leaking in SplashOutputDev::doUpdateFont

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 02:36:43 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91055

            Bug ID: 91055
           Summary: poppler SplashFontSrc leaking in
                    SplashOutputDev::doUpdateFont
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: lztoad at gmail.com

Created attachment 116648
  --> https://bugs.freedesktop.org/attachment.cgi?id=116648&action=edit
This is suggested patch/fix for poppler/SplashOutputDev.cc

This fontsrc local variable in SplashOutputDev::doUpdateFont leaks memory.
I don't really undestand the code, however, looks like it just needs to be
unreferenced regardless of if it is file.
Attached is the patch for poppler/SplashOutputDev.cc

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150622/aac0ae22/attachment.html>


More information about the Poppler-bugs mailing list