[poppler] qt5/src
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 16 23:22:03 UTC 2019
qt5/src/poppler-page.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 15c89ce277bddab535e5ea17081f2a87b1bcbe8a
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Jul 17 00:46:05 2019 +0200
qt5: Page::textList: Fix leak when aborting extraction
diff --git a/qt5/src/poppler-page.cc b/qt5/src/poppler-page.cc
index bf1f8889..c4d00a6b 100644
--- a/qt5/src/poppler-page.cc
+++ b/qt5/src/poppler-page.cc
@@ -783,6 +783,7 @@ QList<TextBox*> Page::textList(Rotation rotate, ShouldAbortQueryFunc shouldAbort
TextWordList *word_list = output_dev->makeWordList();
if (!word_list || (shouldAbortExtractionCallback && shouldAbortExtractionCallback(closure))) {
+ delete word_list;
delete output_dev;
return output_list;
}
More information about the poppler
mailing list