aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2006-07-10 18:56:07 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-07-10 18:56:07 +0800
commitb551414de076b32b638742aa26c0aa175f0e3e7a (patch)
treeaa07e3cffa1a8a3fa72417df4b4412091e85f991 /addressbook/gui
parent79e662f99e144d6ad8d14d720315f131325ee2ae (diff)
downloadgsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.gz
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.bz2
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.lz
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.xz
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.tar.zst
gsoc2013-evolution-b551414de076b32b638742aa26c0aa175f0e3e7a.zip
Fixing memory leaks.
2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net> Fixing memory leaks. svn path=/trunk/; revision=32269
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c1
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 654b66c6c7..6d5d472b2d 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -327,6 +327,7 @@ supported_bases_create_table (char *name, char *string1, char *string2, int num1
model = gtk_list_store_new (1, G_TYPE_STRING);
table = gtk_tree_view_new_with_model ((GtkTreeModel *) model);
+ g_object_unref (model);
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_insert_column_with_attributes ((GtkTreeView *) table, -1, _("Base"), renderer, "text", 0, NULL);
gtk_tree_view_set_headers_visible ((GtkTreeView *) table, FALSE);
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 6cfc0913d6..e4aff7983a 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1389,6 +1389,7 @@ create_treeview_view (EABView *view)
scrolled = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN);
treeview = gtk_tree_view_new_with_model (adapter);
+ g_object_unref (adapter);
gtk_widget_show (treeview);