popplerOk: do not leave pdfinfo dangling