mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-31 03:48:10 +00:00
Fixed memory leak in treeish dnd target
This commit is contained in:
parent
028ba8bf47
commit
bf6724cd53
1 changed files with 1 additions and 0 deletions
|
@ -889,6 +889,7 @@ gitg_drag_source_data_get_cb (GtkWidget *widget,
|
|||
gchar *treeish = revision_to_treeish (repository, data->revision);
|
||||
|
||||
gtk_selection_data_set (selection, selection->target, 8, treeish, strlen (treeish));
|
||||
g_free (treeish);
|
||||
}
|
||||
break;
|
||||
case DRAG_TARGET_URI:
|
||||
|
|
Loading…
Reference in a new issue