diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-01-28 10:53:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-01-28 10:53:10 +0000 |
commit | 8ce63ec09b21cee470731ee9253a9c2855cf836e (patch) | |
tree | a67880f74c443120487ff347ca9b5f2ac22e40cd /iconv/gconv_db.c | |
parent | 0dbbad29ce74db354008b7fb5e151cc6de690003 (diff) | |
download | glibc-8ce63ec09b21cee470731ee9253a9c2855cf836e.tar.gz glibc-8ce63ec09b21cee470731ee9253a9c2855cf836e.tar.xz glibc-8ce63ec09b21cee470731ee9253a9c2855cf836e.zip |
Update.
* iconv/gconv_db.c (free_modules_db): Don't free memory of internal modules.
Diffstat (limited to 'iconv/gconv_db.c')
-rw-r--r-- | iconv/gconv_db.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index e415d0d628..c007732736 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -726,7 +726,8 @@ free_modules_db (struct gconv_module *node) { struct gconv_module *act = node; node = node->matching; - free (act); + if (act->module_name[0] == '/') + free (act); } while (node != NULL); } |