poppler/Link.cc | 1 + 1 file changed, 1 insertion(+) New commits: commit a57e2d47049a7f0067381dfa0c490caf946b93e0 Author: Albert Astals Cid <aa...@kde.org> Date: Wed Jul 17 00:41:52 2019 +0200
Link: Fix memory leak on invalid files diff --git a/poppler/Link.cc b/poppler/Link.cc index bbba89c9..cfa91d14 100644 --- a/poppler/Link.cc +++ b/poppler/Link.cc @@ -197,6 +197,7 @@ LinkAction *LinkAction::parseAction(const Object *obj, const GooString *baseURI, const Ref ref = obj3Ref.getRef(); if (!seenNextActions->insert(ref.num).second) { error(errSyntaxWarning, -1, "parseAction: Circular next actions detected in array."); + delete actionList; return action; } } _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler