Author: bonefish Date: 2010-04-07 20:51:00 +0200 (Wed, 07 Apr 2010) New Revision: 36073 Changeset: http://dev.haiku-os.org/changeset/36073/haiku Modified: haiku/trunk/src/system/libroot/posix/glibc/iconv/gconv_cache.c Log: Disabled more unused code (the cache allocation is disabled, so no need for deallocation). Modified: haiku/trunk/src/system/libroot/posix/glibc/iconv/gconv_cache.c =================================================================== --- haiku/trunk/src/system/libroot/posix/glibc/iconv/gconv_cache.c 2010-04-07 18:49:04 UTC (rev 36072) +++ haiku/trunk/src/system/libroot/posix/glibc/iconv/gconv_cache.c 2010-04-07 18:51:00 UTC (rev 36073) @@ -459,10 +459,12 @@ /* Free all resources if necessary. */ libc_freeres_fn (free_mem) { +#if 0 if (cache_malloced) free (gconv_cache); #ifdef _POSIX_MAPPED_FILES else __munmap (gconv_cache, cache_size); #endif +#endif }