poppler/Annot.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit adee9c0e9e8b2de20309b3ae6eb8e6d6ed05cf85
Author: Albert Astals Cid <[EMAIL PROTECTED]>
Date: Sat Jul 26 00:04:03 2008 +0200
We are not storing the ctu, so decref and leak-- :-)
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index a242761..f14ce50 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1902,6 +1902,7 @@ void AnnotWidget::layoutText(GooString *text, GooString
*outBuf, int *i,
double dx, dy, ox, oy;
GBool unicode = text->hasUnicodeMarker();
CharCodeToUnicode *ccToUnicode = font->getToUnicode();
+ ccToUnicode->decRefCnt();
GBool spacePrev; // previous character was a space
// State for backtracking when more text has been processed than fits within
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler