[Poppler-bugs] [Bug 21970] Add a function to close the document

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 13 03:56:19 PDT 2010


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

Benjamin Berg <benjamin at sipsolutions.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjamin at sipsolutions.net

--- Comment #3 from Benjamin Berg <benjamin at sipsolutions.net> 2010-06-13 03:56:19 PDT ---
As written in https://bugs.launchpad.net/poppler-python/+bug/316722/comments/7.
AFAICT the problem is that the binding generators assume that they need to
g_object_ref the object created by the *_new functions.
When that happens, the last reference to the C object will not be released when
python destroys its object. The fix is to tell the binding generator that the
return value of the *_new function should not be g_object_ref'ed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list