aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-node-view.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c5f7d0431..c10dead4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;