Commit e636e62e authored by Christian Hergert's avatar Christian Hergert

vcs-monitor: fix leak of file information

parent e1d32d76
......@@ -410,7 +410,7 @@ ide_vcs_monitor_init (IdeVcsMonitor *self)
* can wait for #IdeVcsMonitor::reloaded and query again if you expect
* the info to be there.
*
* Returns: (transfer none) (nullable): an #IdeVcsFileInfo or %NULL
* Returns: (transfer full) (nullable): an #IdeVcsFileInfo or %NULL
*
* Since: 3.28
*/
......
......@@ -50,7 +50,7 @@ gb_vcs_tree_builder_cell_data_func (DzlTreeBuilder *builder,
GtkCellRenderer *cell)
{
GbVcsTreeBuilder *self = (GbVcsTreeBuilder *)builder;
IdeVcsFileInfo *info;
g_autoptr(IdeVcsFileInfo) info = NULL;
GObject *item;
GFile *file;
IdeVcsFileStatus status;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment