[poppler] Branch 'poppler-0.8' - qt/poppler-document.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat May 31 15:13:08 PDT 2008
qt/poppler-document.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5fd139bf903de7c476eeb43c74b460e6094475ae
Author: Albert Astals Cid <aacid at kde.org>
Date: Sun Jun 1 00:07:11 2008 +0200
[Qt] Fix leak when calling Poppler::Document::scanForFonts
diff --git a/qt/poppler-document.cc b/qt/poppler-document.cc
index a316aa4..acecc36 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;
}
More information about the poppler
mailing list