mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
(free_mem): Don't call munmap if gconv_cache is NULL.
This commit is contained in:
parent
2fd4de4b15
commit
b33026a852
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user