qt/poppler-document.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 5fd139bf903de7c476eeb43c74b460e6094475ae
Author: Albert Astals Cid <[EMAIL PROTECTED]>
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;
}
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler