[Poppler-bugs] [Bug 7687] New: Memory leak when loading embedded
font files
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Sat Jul 29 14:40:35 PDT 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=7687
Summary: Memory leak when loading embedded font files
Product: poppler
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: splash backend
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: kkowalczyk at gmail.com
There is a memory leak in SplashOutputDev::updateFont() when loading embedded
font. fontsrc is not correctly unrefed and the tmpBuf from readEmbFontFile() is
not freed.
The leak is in tens of kilobytes per font (obviously depends on the size of
embedded font file).
See attached diff for a fix.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Poppler-bugs
mailing list