1 2 3 4 5 6 7 8 9 10 11 12 13
Index: xpdf-3.02-poppler/PDFCore.cc =================================================================== --- xpdf-3.02-poppler.orig/PDFCore.cc +++ xpdf-3.02-poppler/PDFCore.cc @@ -49,7 +49,7 @@ PDFCorePage::~PDFCorePage() { delete links; } if (text) { - delete text; + text->decRefCnt(); } }