Leak plug: free the target list after starting the drag.

svn path=/trunk/; revision=8904
This commit is contained in:
Ettore Perazzoli
2001-03-22 21:56:01 +00:00
parent 120830dbe4
commit f7827253de
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-storage-set-view.c (motion_notify_event): Unref the target
list we create on the fly.
2001-03-22 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-creation-dialog.c (async_create_cb): Changed

View File

@ -812,8 +812,6 @@ motion_notify_event (GtkWidget *widget,
GdkDragAction actions;
GdkDragContext *context;
puts (__FUNCTION__);
storage_set_view = E_STORAGE_SET_VIEW (widget);
priv = storage_set_view->priv;
@ -843,6 +841,8 @@ motion_notify_event (GtkWidget *widget,
1, (GdkEvent *) event);
gtk_drag_set_icon_default (context);
gtk_target_list_unref (target_list);
return FALSE;
}