Add missing g_free() call for house_system_enum_name in chart loading
This commit is contained in:
parent
71cc129e95
commit
74e8373dad
@ -854,6 +854,7 @@ ag_chart_load_from_file(GFile *file, GError **err)
|
|||||||
g_variant_unref(city);
|
g_variant_unref(city);
|
||||||
ag_g_variant_unref(note);
|
ag_g_variant_unref(note);
|
||||||
g_type_class_unref(house_system_class);
|
g_type_class_unref(house_system_class);
|
||||||
|
g_free(house_system_enum_name);
|
||||||
|
|
||||||
g_set_error(err,
|
g_set_error(err,
|
||||||
AG_CHART_ERROR, AG_CHART_ERROR_CORRUPT_FILE,
|
AG_CHART_ERROR, AG_CHART_ERROR_CORRUPT_FILE,
|
||||||
|
Loading…
Reference in New Issue
Block a user