Commit ab7aa3e1 authored by Christian Persch's avatar Christian Persch
Browse files

Bug 554690 – mem leak in filechooser

svn path=/trunk/; revision=21567
parent 7d76b604
2008-10-02 Christian Persch
Bug 554690 – mem leak in filechooser
* gtk/gtkfilechooserdefault.c: Plug a mem leak.
2008-10-02 Michael Natterer <mitch@imendio.com>
Bug 553585 – Add orientation API to GtkRuler
......
......@@ -2074,10 +2074,17 @@ shortcuts_add_volumes (GtkFileChooserDefault *impl)
if (_gtk_file_system_volume_is_mounted (volume))
{
GFile *base_file;
gboolean base_is_native = TRUE;
base_file = _gtk_file_system_volume_get_root (volume);
if (base_file != NULL && !g_file_is_native (base_file))
continue;
if (base_file != NULL)
{
base_is_native = g_file_is_native (base_file);
g_object_unref (base_file);
}
if (!base_is_native)
continue;
}
}
......
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