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