forked from AuroraMiddleware/gtk
(shortcuts_add_current_folder): Don't leak volume. (#155400,
Morten Welinder)
This commit is contained in:
parent
47666976ca
commit
98019f4880
@ -4,6 +4,8 @@
|
||||
get text unnecessarily. (#155384, Morten Welinder)
|
||||
(gtk_file_chooser_default_finalize): Don't forget to
|
||||
unref the tooltips. (#155412, Morten Welinder)
|
||||
(shortcuts_add_current_folder): Don't leak volume. (#155400,
|
||||
Morten Welinder)
|
||||
|
||||
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
get text unnecessarily. (#155384, Morten Welinder)
|
||||
(gtk_file_chooser_default_finalize): Don't forget to
|
||||
unref the tooltips. (#155412, Morten Welinder)
|
||||
(shortcuts_add_current_folder): Don't leak volume. (#155400,
|
||||
Morten Welinder)
|
||||
|
||||
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
get text unnecessarily. (#155384, Morten Welinder)
|
||||
(gtk_file_chooser_default_finalize): Don't forget to
|
||||
unref the tooltips. (#155412, Morten Welinder)
|
||||
(shortcuts_add_current_folder): Don't leak volume. (#155400,
|
||||
Morten Welinder)
|
||||
|
||||
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
get text unnecessarily. (#155384, Morten Welinder)
|
||||
(gtk_file_chooser_default_finalize): Don't forget to
|
||||
unref the tooltips. (#155412, Morten Welinder)
|
||||
(shortcuts_add_current_folder): Don't leak volume. (#155400,
|
||||
Morten Welinder)
|
||||
|
||||
2004-10-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
@ -1441,12 +1441,15 @@ shortcuts_add_current_folder (GtkFileChooserDefault *impl)
|
||||
strcmp (gtk_file_path_get_string (base_path), gtk_file_path_get_string (impl->current_folder)) == 0)
|
||||
{
|
||||
success = shortcuts_insert_path (impl, pos, TRUE, volume, NULL, NULL, FALSE, NULL);
|
||||
if (!success)
|
||||
gtk_file_system_volume_free (impl->file_system, volume);
|
||||
if (success)
|
||||
volume = NULL;
|
||||
}
|
||||
else
|
||||
success = shortcuts_insert_path (impl, pos, FALSE, NULL, impl->current_folder, NULL, FALSE, NULL);
|
||||
|
||||
if (volume)
|
||||
gtk_file_system_volume_free (impl->file_system, volume);
|
||||
|
||||
if (base_path)
|
||||
gtk_file_path_free (base_path);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user