aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-topic-action.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fc6f446d..513954f48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-09-22 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-topic-action.c: (drag_motion_cb):
+
+ Fix a mem leak.
+
+2004-09-22 Christian Persch <chpe@cvs.gnome.org>
+
* lib/ephy-dialog.c: (set_editable_from_value):
Initialise position passed to gtk_editable_insert_text().
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 26dc742cf..4905b39a6 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -660,6 +660,8 @@ drag_motion_cb (GtkWidget *widget, GdkEventMotion *event, EphyTopicAction *actio
gtk_menu_popdown (GTK_MENU (widget));
gtk_drag_begin (button, target_list, GDK_ACTION_MOVE |
GDK_ACTION_COPY, 1, (GdkEvent*)event);
+
+ gtk_target_list_unref (target_list);
}
return TRUE;