mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
gdatetime: Fix a minor leak on changing locale
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
parent
454064f82d
commit
09fe2aa78d
@ -3042,6 +3042,7 @@ format_number (GString *str,
|
||||
if (alt_digits == NULL)
|
||||
alt_digits = ascii_digits;
|
||||
|
||||
g_free (alt_digits_locale);
|
||||
alt_digits_locale = g_strdup (current_ctype_locale);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user