]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Params.cc
Compiles at least :)
[evince.git] / pdf / xpdf / Params.cc
index 8b6c5083b27050f3edc7b1b68b44315ae00df054..35adfdfe00ad4b1544e2e51c27acec60caaee6be 100644 (file)
@@ -73,12 +73,9 @@ void freeParams() {
   int i;
 
   if (fontPath) {
-    for (i = 0; i < fontPathLen; ++i) {
+    for (i = 0; i < fontPathLen; ++i)
       gfree(fontPath[i]);
-      fontPath[i] = NULL;
-    }
     gfree(fontPath);
-    fontPath = NULL;
   }
   if (devFontMap) {
     for (i = 0; i < devFontMapLen; ++i) {