File xpdf-poppler-private-textpage-destructor.patch of Package xpdf-poppler

--- PDFCore.cc
+++ PDFCore.cc
@@ -53,7 +53,7 @@
     delete links;
   }
   if (text) {
-    delete text;
+    text->decRefCnt(); // this will delete text itself
   }
 }
 
openSUSE Build Service is sponsored by