mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
glib/tests/unicode: Cleanup allocated old locale if tests is skipped
This commit is contained in:
parent
5c84823342
commit
19d7040047
@ -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