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
This commit is contained in:
@@ -459,10 +459,12 @@ __gconv_release_cache (struct __gconv_step *steps, size_t nsteps)
|
|||||||
/* Free all resources if necessary. */
|
/* Free all resources if necessary. */
|
||||||
libc_freeres_fn (free_mem)
|
libc_freeres_fn (free_mem)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (cache_malloced)
|
if (cache_malloced)
|
||||||
free (gconv_cache);
|
free (gconv_cache);
|
||||||
#ifdef _POSIX_MAPPED_FILES
|
#ifdef _POSIX_MAPPED_FILES
|
||||||
else
|
else
|
||||||
__munmap (gconv_cache, cache_size);
|
__munmap (gconv_cache, cache_size);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user