Skip to content

Commit

Permalink
Fix g_free which should be g_object_unref in file browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse van den Kieboom committed May 10, 2010
1 parent 999a8dd commit 331af4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/filebrowser/gedit-file-browser-store.c
Expand Up @@ -2876,7 +2876,11 @@ mount_cb (GFile *file,

g_object_unref (mount_info->operation);
g_object_unref (mount_info->cancellable);
g_free (mount_info->virtual_root);

if (mount_info->virtual_root)
{
g_object_unref (mount_info->virtual_root);
}

g_free (mount_info);
}
Expand Down

0 comments on commit 331af4b

Please sign in to comment.