Leak plug: free the target list after starting the drag.
svn path=/trunk/; revision=8904
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user