[Poppler-bugs] [Bug 84607] New: Dict.remove memory leak

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 2 14:21:20 PDT 2014


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

            Bug ID: 84607
           Summary: Dict.remove memory leak
           Product: poppler
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: scott.gregory.west at gmail.com

Created attachment 107238
  --> https://bugs.freedesktop.org/attachment.cgi?id=107238&action=edit
Patch to free removed entries.

It looks like Dict.remove just copies over the entries that it removes, and
thus doesn't free the key or the object associated with the entry. This is a
memory leak.

The attached patch should fix that.

-- 
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/20141002/968a1e9d/attachment.html>


More information about the Poppler-bugs mailing list