From f603ab3c5878b3526d8906daf5b6339d55b380e9 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 7 Apr 2010 18:51:00 +0000 Subject: [PATCH] Disabled more unused code (the cache allocation is disabled, so no need for deallocation). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36073 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/glibc/iconv/gconv_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/libroot/posix/glibc/iconv/gconv_cache.c b/src/system/libroot/posix/glibc/iconv/gconv_cache.c index c1f3dab2c7..a4ba8400ea 100644 --- a/src/system/libroot/posix/glibc/iconv/gconv_cache.c +++ b/src/system/libroot/posix/glibc/iconv/gconv_cache.c @@ -459,10 +459,12 @@ __gconv_release_cache (struct __gconv_step *steps, size_t nsteps) /* 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 }