aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-13 00:39:21 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-13 00:39:21 +0800
commitb1647953bb1eb41616a9bfabf2ed5b6c010cc9f0 (patch)
tree064c0ee702b999654adadd2a93cd5b5b9ce58f4e
parentc16f33a0183bf8da7c13eea9f85472d1ef807be0 (diff)
downloadgsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar.gz
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar.bz2
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar.lz
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar.xz
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.tar.zst
gsoc2013-epiphany-b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0.zip
Fix mem leaks.
2003-07-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (provide_favicon): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon): Fix mem leaks.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
-rw-r--r--src/ephy-history-window.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fd343568b..831eb3fe5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-07-12 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-history-window.c: (provide_favicon):
+ * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon):
+
+ Fix mem leaks.
+
2003-07-12 Xan Lopez <xan@masilla.org>
* lib/widgets/ephy-node-view.c:
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index d7a8b0939..490de4f86 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1173,7 +1173,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data)
}
g_value_init (value, GDK_TYPE_PIXBUF);
- g_value_set_object (value, pixbuf);
+ g_value_set_object_take_ownership (value, pixbuf);
}
static void
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8636557c9..0367275ea 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -930,7 +930,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data)
}
g_value_init (value, GDK_TYPE_PIXBUF);
- g_value_set_object (value, pixbuf);
+ g_value_set_object_take_ownership (value, pixbuf);
}
static void