aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-11 06:54:35 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-11 06:54:35 +0800
commitfd19e880c83d4436b6e2867c175aa1015feddff3 (patch)
tree48cdcfd2ec0fcba382e09d9b93bb401e30bfd611
parenta2df1c82e50c669df21072d240ee35f55cee7c3a (diff)
downloadgsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar.gz
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar.bz2
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar.lz
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar.xz
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.tar.zst
gsoc2013-epiphany-fd19e880c83d4436b6e2867c175aa1015feddff3.zip
Fix a mem leak.
2004-07-11 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Fix a mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--src/bookmarks/ephy-bookmark-action.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d62010578..1ca027721 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-11 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb):
+
+ Fix a mem leak.
+
2004-07-09 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index 19859f2b5..851770c9f 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -437,6 +437,8 @@ drag_motion_cb (GtkWidget *widget, GdkEventMotion *event, EphyBookmarkAction *ac
stop_drag_check (action, widget);
gtk_drag_begin (widget, target_list, GDK_ACTION_MOVE |
GDK_ACTION_COPY, 1, (GdkEvent*)event);
+
+ gtk_target_list_unref (target_list);
}
return TRUE;