--- poppler-0.12.4/poppler/Annot.cc 2010-01-17 01:06:58.000000000 +0100 +++ poppler-0.12.4/poppler/Annot.cc 2010-03-04 12:50:56.000000000 +0100 @@ -3173,7 +3173,10 @@ void AnnotWidget::generateFieldAppearanc obj1.free(); // get the default appearance string - if (Form::fieldLookup(field, "DA", &obj1)->isNull()) { + if (Form::fieldLookup(annot, "DA", &obj1)->isNull()) { + obj1.free(); + } + if (!obj1.isString() && Form::fieldLookup(field, "DA", &obj1)->isNull()) { obj1.free(); acroForm->lookup("DA", &obj1); }