{
char radix_char;
- char *ol = setlocale (LC_NUMERIC, NULL);
+ char *ol = strdup (setlocale (LC_NUMERIC, NULL));
setlocale (LC_NUMERIC, "");
#if HAVE_NL_LANGINFO
/* We MUST leave LC_NUMERIC untouched, since it would
otherwise interfere with data_{in,out} */
setlocale (LC_NUMERIC, ol);
+ free (ol);
return radix_char;
}