[gnome-todo/wip/gbsneto/plugins] plugin-dialog: fix leak



commit a0b8dffaf4e1a00351cd6cf97603bedeaeda1240
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jan 15 23:27:50 2016 -0200

    plugin-dialog: fix leak

 src/plugin/gtd-plugin-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugin/gtd-plugin-dialog.c b/src/plugin/gtd-plugin-dialog.c
index c0adfe0..d4c70de 100644
--- a/src/plugin/gtd-plugin-dialog.c
+++ b/src/plugin/gtd-plugin-dialog.c
@@ -191,6 +191,8 @@ create_row_for_plugin (GtdPluginDialog *self,
 
   gtk_widget_show_all (row);
 
+  g_clear_object (&builder);
+
   return row;
 }
 


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