From 0dbbad29ce74db354008b7fb5e151cc6de690003 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 28 Jan 1999 09:52:01 +0000 Subject: Update. 1999-01-28 Ulrich Drepper * iconv/gconv_db.c (free_mem): Don't free module tree if there is none. --- iconv/gconv_db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iconv/gconv_db.c') diff --git a/iconv/gconv_db.c b/iconv/gconv_db.c index a5f2375f1c..e415d0d628 100644 --- a/iconv/gconv_db.c +++ b/iconv/gconv_db.c @@ -739,7 +739,8 @@ free_mem (void) if (__gconv_alias_db != NULL) __tdestroy (__gconv_alias_db, free); - free_modules_db (__gconv_modules_db); + if (__gconv_modules_db != NULL) + free_modules_db (__gconv_modules_db); if (known_derivations != NULL) __tdestroy (known_derivations, free_derivation); -- cgit v1.2.3