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