Fixed memory leak in treeish dnd target

This commit is contained in:
Jesse van den Kieboom 2010-01-17 14:52:14 +01:00
parent 028ba8bf47
commit bf6724cd53

View file

@ -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: