[gnome-photos] edit-palette-row: Don't leak the PhotosTool



commit ded2ec38b5c77418c8721dc584840fdf4d54c426
Author: Rafael Fonseca <r4f4rfs gmail com>
Date:   Fri Mar 18 17:04:16 2016 +0100

    edit-palette-row: Don't leak the PhotosTool
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763881

 src/photos-edit-palette-row.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-edit-palette-row.c b/src/photos-edit-palette-row.c
index 45553c2..f64ad55 100644
--- a/src/photos-edit-palette-row.c
+++ b/src/photos-edit-palette-row.c
@@ -118,6 +118,7 @@ photos_edit_palette_row_dispose (GObject *object)
   PhotosEditPaletteRow *self = PHOTOS_EDIT_PALETTE_ROW (object);
 
   g_clear_object (&self->size_group);
+  g_clear_object (&self->tool);
 
   G_OBJECT_CLASS (photos_edit_palette_row_parent_class)->dispose (object);
 }


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