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