[poppler] Freeing a PopplerDocument object

Dominic Lachowicz domlachowicz at gmail.com
Mon Mar 30 06:55:17 PDT 2009


Most Poppler objects are GObjects, and are freed using g_object_unref().

Best,
Dom

On Mon, Mar 30, 2009 at 8:53 AM, ANTONI SILVESTRE PADROS <antoni at tid.es> wrote:
> Hi, I am sure I am missing something really obvious but I cannot find any way to explicitly free or "close" a PopplerDocument created with the function poppler_document_new_from_file.
>
> The thing is that I am reading files from a USB pendrive and after I have read a PDF from it there's no way unmounting the pendrive without closing the application.
>
> Any help will be greatly appreaciated.
>
> Thanks
>
> Toni
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>



-- 
Mediocrity knows nothing higher than itself; but talent instantly
recognizes genius.


More information about the poppler mailing list