mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gschema-compile: return quickly on parse error
Suggested by Christian Persch in #616102
This commit is contained in:
parent
bed462046a
commit
3c54cc074d
@ -360,6 +360,9 @@ end_element (GMarkupParseContext *context,
|
||||
state->value = g_variant_parse (state->type, state->string->str,
|
||||
NULL, NULL, error);
|
||||
|
||||
if (state->value == NULL)
|
||||
return;
|
||||
|
||||
if (state->l10n)
|
||||
{
|
||||
if (state->context)
|
||||
|
Loading…
Reference in New Issue
Block a user