aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GtkNSSDialogs.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-22 15:53:35 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-22 15:53:35 +0800
commit370a95a23d6475cffcb1a82a81ee65c683371853 (patch)
tree079be887f0796f21269fbf43a0bae49912399bf3 /embed/mozilla/GtkNSSDialogs.cpp
parent10ca2e6a8a062e7736c1e58ccc6e15b57edf91c2 (diff)
downloadgsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar.gz
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar.bz2
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar.lz
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar.xz
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.tar.zst
gsoc2013-epiphany-370a95a23d6475cffcb1a82a81ee65c683371853.zip
Fix mem leaks (ported from Galeon).
2004-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Fix mem leaks (ported from Galeon).
Diffstat (limited to 'embed/mozilla/GtkNSSDialogs.cpp')
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index ff50a641b..b133ba057 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -1221,6 +1221,7 @@ setup_view_cert_tree (GtkWidget *dialog, GladeXML*gxml, nsIArray *certChain)
G_TYPE_STRING,
G_TYPE_POINTER);
gtk_tree_view_set_model (GTK_TREE_VIEW (chain_tree_view), GTK_TREE_MODEL (store));
+ g_object_unref (store);
renderer = gtk_cell_renderer_text_new ();
@@ -1242,6 +1243,7 @@ setup_view_cert_tree (GtkWidget *dialog, GladeXML*gxml, nsIArray *certChain)
G_TYPE_STRING,
G_TYPE_POINTER);
gtk_tree_view_set_model (GTK_TREE_VIEW (field_tree_view), GTK_TREE_MODEL (store));
+ g_object_unref (store);
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (field_tree_view),