release gtkbuilder
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 25 Mar 2013 09:38:42 +0000 (09:38 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 25 Mar 2013 09:38:42 +0000 (09:38 +0000)
src/ui.c

index 30f0843..cc6c270 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -230,6 +230,8 @@ void ui_window_create(struct ui_psensor *ui)
        ui->main_window = window;
 
        gtk_widget_show_all(ui->main_box);
+
+       g_object_unref(G_OBJECT(builder));
 }
 
 static void menu_bar_show(unsigned int show, struct ui_psensor *ui)