PDF: fix potential double-free