[gnome-control-center] display: Fix double free of GError
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Fix double free of GError
- Date: Tue, 29 May 2018 03:05:08 +0000 (UTC)
commit 4aee26cc77be65d76c4bc118077b80418220608c
Author: Robert Ancell <robert ancell canonical com>
Date: Tue May 29 15:01:03 2018 +1200
display: Fix double free of GError
panels/display/cc-night-light-dialog.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/panels/display/cc-night-light-dialog.c b/panels/display/cc-night-light-dialog.c
index 55fca2429..34270cada 100644
--- a/panels/display/cc-night-light-dialog.c
+++ b/panels/display/cc-night-light-dialog.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]