diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-14 01:09:05 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-14 01:09:05 +0800 |
commit | de6239c432661f8b0061ad02db565b793b0fa746 (patch) | |
tree | 2d5223a1d41725985c8f0ce92cc144d0dc575376 | |
parent | 966d9b7893671364b2ae8c04c82c93596390e264 (diff) | |
download | gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar.gz gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar.bz2 gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar.lz gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar.xz gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.tar.zst gsoc2013-epiphany-de6239c432661f8b0061ad02db565b793b0fa746.zip |
Fix mem leaks.
2003-07-13 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (drag_motion_cb),
(drag_data_received_cb):
Fix mem leaks.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/widgets/ephy-node-view.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2003-07-13 Christian Persch <chpe@cvs.gnome.org> + * lib/widgets/ephy-node-view.c: (drag_motion_cb), + (drag_data_received_cb): + + Fix mem leaks. + +2003-07-13 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): Fix mem leak and add safety check. diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index a69907916..4651a738c 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -263,6 +263,8 @@ drag_motion_cb (GtkWidget *widget, gdk_drag_status (context, 0, time); } + gtk_tree_path_free (path); + return TRUE; } @@ -321,6 +323,7 @@ drag_data_received_cb (GtkWidget *widget, g_list_free (src_nodes); + gtk_tree_path_free (path); } return TRUE; |