aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-23 02:20:24 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-23 02:20:24 +0800
commit38a400ad4f2119289400add5aebae8ac5285d5fd (patch)
tree678a53d1c3b8f372863ccd3579d0c566b7423b2c
parent403518381b86a05c97e3c3b260754a0176f09c23 (diff)
downloadgsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar.gz
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar.bz2
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar.lz
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar.xz
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.tar.zst
gsoc2013-epiphany-38a400ad4f2119289400add5aebae8ac5285d5fd.zip
Fix a mem leak.
2004-09-22 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (drag_motion_cb): Fix a mem leak.
-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;