poppler/Annot.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b2f3d16f8325712387a152fba1127292d1b36bc5
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 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
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to