It seems the recent upload of poppler 20 introduced further breakage.

Poppler changed the return type of Catalog::getDestNameTreeDest and 
Catalog::getDestsDest
from LinkDest * to std::unique_ptr<LinkDest>

If I am following the code correctly, it seems that extractpdfmark had a memory 
leak,
previously, getDestNameTreeDest and getDestsDest returned an owning pointer, but
add_destname does not take ownership of the pointer passed in.

I therefore belive it is ok to just add .get() to the calls, this should fix 
both the
build failure and the memory leak.

A debdiff should appear soon at 
http://debdiffs.raspbian.org/main/e/extractpdfmark/extractpdfmark_1.1.0-1+rpi2.debdiff

Reply via email to