[mapserver-commits] r12784 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Thu Nov 17 09:57:59 EST 2011


Author: tbonfort
Date: 2011-11-17 06:57:59 -0800 (Thu, 17 Nov 2011)
New Revision: 12784

Modified:
   trunk/mapserver/mapcache/src/mapcache_seed.c
Log:
add calls to apr_terminate to make valgrind happy


Modified: trunk/mapserver/mapcache/src/mapcache_seed.c
===================================================================
--- trunk/mapserver/mapcache/src/mapcache_seed.c	2011-11-16 17:26:21 UTC (rev 12783)
+++ trunk/mapserver/mapcache/src/mapcache_seed.c	2011-11-17 14:57:59 UTC (rev 12784)
@@ -560,6 +560,7 @@
       }
       i++;
    }
+   apr_terminate();
    return 1;
 }
 
@@ -918,6 +919,7 @@
            printf("\nseeded %d metatiles at %g tiles/sec\n",seededtilestot, seededtilestot/duration);
         }
     }
+    apr_terminate();
     return 0;
 }
 /* vim: ai ts=3 sts=3 et sw=3



More information about the mapserver-commits mailing list