display: Fix double free of GError

This commit is contained in:
Robert Ancell 2018-05-29 15:01:03 +12:00
parent 6b334a8a00
commit 4aee26cc77

View file

@ -587,7 +587,6 @@ cc_night_light_dialog_init (CcNightLightDialog *self)
if (error != NULL)
{
g_critical ("Could not load interface file: %s", error->message);
g_error_free (error);
return;
}