aboutsummaryrefslogtreecommitdiff
path: root/intl/finddomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index a3083b1..c6c176a 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -191,6 +191,10 @@ _nl_find_domain (dirname, locale, domainname)
if (alias_value != NULL)
free (locale);
+ /* The space for normalized_codeset is dynamically allocated. Free it. */
+ if (mask & XPG_NORM_CODESET)
+ free (normalized_codeset);
+
return retval;
}