projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd4de4
)
(free_mem): Don't call munmap if gconv_cache is NULL.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 11 Jan 2006 07:08:29 +0000
(07:08 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 11 Jan 2006 07:08:29 +0000
(07:08 +0000)
iconv/gconv_cache.c
patch
|
blob
|
history
diff --git
a/iconv/gconv_cache.c
b/iconv/gconv_cache.c
index
9a8a208
..
716c384
100644
(file)
--- a/
iconv/gconv_cache.c
+++ b/
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
}