Browse Source

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

cvs/glibc-2_5-branch
Ulrich Drepper 21 years ago
parent
commit
b33026a852
  1. 2
      iconv/gconv_cache.c

2
iconv/gconv_cache.c

@ -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…
Cancel
Save