      if (p) {
        free(p);
      }
---- misc/xpdf-3.02/ms_make.bat	Tue Feb 27 23:05:51 2007
-+++ misc/build/xpdf-3.02/ms_make.bat	Mon Apr  7 13:16:54 2008
+--- misc/xpdf-3.02/goo/GString.cc	2007-02-27 23:05:51.000000000 +0100
++++ misc/build/xpdf-3.02/goo/GString.cc	2009-11-10 11:43:10.368006116 +0100
+@@ -528,7 +528,7 @@
+   if ((neg = x < 0)) {
+     x = -x;
+   }
+-  x = floor(x * pow(10, prec) + 0.5);
++  x = floor(x * pow(10.0, prec) + 0.5);
+   i = bufSize;
+   started = !trim;
+   for (j = 0; j < prec && i > 1; ++j) {
+--- misc/xpdf-3.02/ms_make.bat	2007-02-27 23:05:51.000000000 +0100
++++ misc/build/xpdf-3.02/ms_make.bat	2009-11-10 11:43:10.450112062 +0100
 @@ -1,5 +1,5 @@
  set CC=cl
 -set CFLAGS=/DWIN32 /I.. /I..\goo /I..\fofi /O2 /nologo

       if (n < 6) {
 	code <<= 6 - n;
       }
@@ -1736,6 +1778,9 @@
     }
     for (n = 7; n <= 12; ++n) {
       code = lookBits(n);

       if (n < 13) {
 	code <<= 13 - n;
       }
@@ -1963,6 +2015,12 @@
     // allocate a buffer for the whole image
     bufWidth = ((width + mcuWidth - 1) / mcuWidth) * mcuWidth;
     bufHeight = ((height + mcuHeight - 1) / mcuHeight) * mcuHeight;
