From 37e9dc814636915afb88d0779e5e897e90e7b8c0 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jun 2017 14:44:33 +0200 Subject: DCIGETTEXT: Do not make copy of localename --- intl/dcigettext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intl') diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 3843b7c..d97746c 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -551,7 +551,7 @@ DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, #ifdef HAVE_PER_THREAD_LOCALE # ifndef IN_LIBGLOCALE # ifdef _LIBC - localename = strdupa (__current_locale_name (category)); + localename = __current_locale_name (category); # else categoryname = category_to_name (category); # define CATEGORYNAME_INITIALIZED -- cgit v1.1