The PopplerPage and PopplerDocument types, which are subclassed from a GObject, override the finalize methods, but do not properly call the parent classes finalize method at the end as they should.
I have noticed that there are other gobject derived classes that also do not properly chain up the finalize method to the parent classes. For example the PopplerFontInfo class does not do this either. However, some do. For example PopplerAttachment does. Not calling the parent classes finalize method is a potential memory leak. This also prevents some registered callbacks from being called at destruction time as needed.
Fixed in master and 0.20 branch. Thanks for reporting.
Thank you. Looks good. By the way, I found this while attempting to wrap the poppler-glib library via gmmproc. I will make the resulting poppler-glibmm available at some point.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.