monitor-config-migration: Fix a minor leak when parsing fails

https://bugzilla.gnome.org/show_bug.cgi?id=787477
This commit is contained in:
Rui Matos 2017-09-19 19:07:34 +02:00 committed by Jonas Ådahl
parent 67ce04993e
commit ab541e3e0f

View File

@ -652,6 +652,7 @@ load_config_file (GFile *file,
g_array_free (parser.output_array, TRUE);
free_output_key (&parser.key);
g_free (parser.output_field);
g_hash_table_destroy (parser.configs);
return NULL;