Mapserver Memory Leak

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Thu Jun 7 20:29:37 EDT 2007


In maputil.c, in msSetup() we call:


#ifdef USE_GD_FT
   if (gdFontCacheSetup() != 0) {
     return MS_FAILURE;
    }
#endif


We need to add a corresponding block in msCleanup() to to free this like:


#ifdef USE_GD_FT
   if (gdFontCacheShutdown() != 0) {
     return MS_FAILURE;
    }
#endif



-Steve W



More information about the mapserver-dev mailing list