diff options
-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 |