==16259== 96 bytes in 12 blocks are definitely lost in loss record 107 of 305 ==16259== at 0x401B7F3: operator new(unsigned) (vg_replace_malloc.c:164) ==16259== by 0x42C6459: poppler_page_get_link_mapping (poppler-page.cc:808) ==16259== by 0x8097EA8: pdf_document_get_links(_EvDocument*, int) (ev-poppler.cc:292) ==16259== by 0x808BEA8: ev_document_get_links (ev-document.c:198) ==16259== by 0x8062000: ev_job_render_run (ev-jobs.c:300) in glib/poppler-page.c:poppler_page_get_link_mapping links = new Links (page->page->getAnnots (&obj), page->document->doc->getCatalog ()->getBaseURI ()); but |links| is never deleted.
Created attachment 5569 [details] [review] Proposed patch Proposed patch with naive fix. Seems to fix the specific memory leak though. Please verify it's correctness.
*** This bug has been marked as a duplicate of 6947 ***
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.