diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-13 00:39:21 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-13 00:39:21 +0800 |
commit | b1647953bb1eb41616a9bfabf2ed5b6c010cc9f0 (patch) | |
tree | 064c0ee702b999654adadd2a93cd5b5b9ce58f4e | |
parent | c16f33a0183bf8da7c13eea9f85472d1ef807be0 (diff) | |
download | gsoc2013-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-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 2 | ||||
-rw-r--r-- | src/ephy-history-window.c | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -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 |