[poppler] Branch 'poppler-0.8' - poppler/Annot.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Jul 25 15:04:23 PDT 2008
poppler/Annot.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit b2f3d16f8325712387a152fba1127292d1b36bc5
Author: Albert Astals Cid <aacid at kde.org>
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 1c08548..044c39c 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1827,6 +1827,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
More information about the poppler
mailing list