[poppler] Branch 'poppler-0.20' - poppler/XRef.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Sep 26 06:30:46 PDT 2012


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

New commits:
commit 9bb68456de41d24db7acf61204bc3f4e36e98505
Author: Albert Astals Cid <aacid at kde.org>
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() {


More information about the poppler mailing list