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

New commits:
commit 9bb68456de41d24db7acf61204bc3f4e36e98505
Author: Albert Astals Cid <[email protected]>
Date:   Wed Sep 26 15:13:47 2012 +0200

    Initilize rootNum
    
    Fixes valgrind warnings about uninitialized uses

diff --git a/poppler/XRef.cc b/poppler/XRef.cc
index 4d01320..a076bb0 100644
--- a/poppler/XRef.cc
+++ b/poppler/XRef.cc
@@ -267,6 +267,7 @@ void XRef::init() {
   objStrs = new PopplerCache(5);
   mainXRefEntriesOffset = 0;
   xRefStream = gFalse;
+  rootNum = -1;
 }
 
 XRef::XRef() {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to