Update.
* iconv/gconv_db.c (free_modules_db): Don't free memory of internal modules.
This commit is contained in:
parent
0dbbad29ce
commit
8ce63ec09b
|
@ -1,5 +1,8 @@
|
|||
1999-01-28 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* iconv/gconv_db.c (free_modules_db): Don't free memory of
|
||||
internal modules.
|
||||
|
||||
* iconv/gconv_db.c (free_mem): Don't free module tree if there is none.
|
||||
|
||||
1999-01-27 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue