(free_mem): Don't call munmap if gconv_cache is NULL.

This commit is contained in:
Ulrich Drepper 2006-01-11 07:08:29 +00:00
parent 2fd4de4b15
commit b33026a852
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ libc_freeres_fn (free_mem)
if (cache_malloced)
free (gconv_cache);
#ifdef _POSIX_MAPPED_FILES
else
else if (gconv_cache != NULL)
__munmap (gconv_cache, cache_size);
#endif
}