mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
glib/tests/unicode: Cleanup allocated old locale if tests is skipped
This commit is contained in:
parent
e4d369d5f4
commit
a2111bec69
@ -525,6 +525,7 @@ test_turkish_strupdown (void)
|
|||||||
if (oldlocale == NULL)
|
if (oldlocale == NULL)
|
||||||
{
|
{
|
||||||
g_test_skip ("locale tr_TR not available");
|
g_test_skip ("locale tr_TR not available");
|
||||||
|
g_free (old_lang);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user