[gnome-control-center] color: Don't leak the calibrate builder instance



commit bd978eaa5cde1f513b3bd8a157fd73d59e70324e
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Sep 16 22:57:39 2013 +0200

    color: Don't leak the calibrate builder instance
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708286

 panels/color/cc-color-calibrate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/color/cc-color-calibrate.c b/panels/color/cc-color-calibrate.c
index f7932a3..0fed7b3 100644
--- a/panels/color/cc-color-calibrate.c
+++ b/panels/color/cc-color-calibrate.c
@@ -1038,6 +1038,7 @@ cc_color_calibrate_finalize (GObject *object)
   CcColorCalibratePrivate *priv = calibrate->priv;
 
   g_clear_pointer (&priv->window, gtk_widget_destroy);
+  g_clear_object (&priv->builder);
   g_clear_object (&priv->device);
   g_clear_object (&priv->proxy_helper);
   g_clear_object (&priv->proxy_inhibit);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]