[Poppler-bugs] [Bug 91057] New: poppler AttributeDefaults leaking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 05:43:47 PDT 2015


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

            Bug ID: 91057
           Summary: poppler AttributeDefaults leaking
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: lztoad at gmail.com

Created attachment 116653
  --> https://bugs.freedesktop.org/attachment.cgi?id=116653&action=edit
Suggested StructElement.cc patch.

Global
static const AttributeDefaults attributeDefaults;
leaks it's objects. I've encountered it on windows but it should be anywhere as
there's no destructor in Object.
I'd suggest to add destructor to AttributeDefaults struct.
As is in the patch attached.

-- 
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/991fea4f/attachment.html>


More information about the Poppler-bugs mailing list