diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-06-01 00:07:11 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-06-01 00:12:58 +0200 |
commit | 5fd139bf903de7c476eeb43c74b460e6094475ae (patch) | |
tree | 7481426eb5dd884fc0e5922479d3652069c2c1c7 | |
parent | 6b9dd84db02bd162aa3c01d453ddc93a657017bb (diff) |
[Qt] Fix leak when calling Poppler::Document::scanForFonts
-rw-r--r-- | qt/poppler-document.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/poppler-document.cc b/qt/poppler-document.cc index a316aa4f..acecc365 100644 --- a/qt/poppler-document.cc +++ b/qt/poppler-document.cc @@ -142,6 +142,7 @@ bool Document::scanForFonts( int numPages, QValueList<FontInfo> *fontList ) cons (Poppler::FontInfo::Type)((::FontInfo*)items->get(i))->getType()); fontList->append(font); } + deleteGooList(items, ::FontInfo); return true; } |