gtk-demo: Fix a crash

This commit is contained in:
Matthias Clasen 2019-07-25 13:47:59 -04:00
parent f1e4efebb7
commit dea309144b

View File

@ -202,7 +202,7 @@ languages_variant_init (const char *variant)
else
g_warning ("Failed to load '%s': %s\n", filename, error->message);
g_free (error);
g_clear_error (&error);
g_free (filename);
g_free (buf);
}