[poppler] poppler/Form.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Nov 12 18:55:21 UTC 2017
poppler/Form.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit fea27db14358c8342c9f5bdbe6cb3bff02cebc2b
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Nov 12 19:54:52 2017 +0100
Fix leak if parseDA fails
diff --git a/poppler/Form.cc b/poppler/Form.cc
index 62bba103..3c23dd3f 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -1219,6 +1219,7 @@ void FormFieldText::setTextFontSize(int fontSize)
int idx = parseDA(daToks);
if (idx == -1) {
error(errSyntaxError, -1, "FormFieldText:: invalid DA object\n");
+ deleteGooList(daToks, GooString);
return;
}
if (defaultAppearance)
More information about the poppler
mailing list