Hello<br><br>I guess it's too trivial to worth filing a bug<br><br>At line 2027<br>if(!strObj.isStream())<br> goto err1;<br><br>Then strObj.streamClose() right after err1 will crash.<br><br>- Lu<br><br>////////////////////////////////////////<br>
//// patch <br><br>diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc<br>index 93b078a..cbbad1e 100644<br>
--- a/poppler/PSOutputDev.cc<br>+++ b/poppler/PSOutputDev.cc<br>@@ -2148,7 +2148,8 @@ void PSOutputDev::setupEmbeddedType1Font(Ref *id, GooString *psName) {<br> writePS("%%EndResource\n");<br> <br> err1:<br>
- strObj.streamClose();<br>
+ if (strObj.isStream()) <br>+ strObj.streamClose();<br> strObj.free();<br> }<br> <br>