mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
glib/tests/unicode: Cleanup allocated old locale if tests is skipped
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user