Plug a mem leak

The filechooser was leaking tooltips. Reported in bug bug 593080.
This commit is contained in:
Christian Persch 2009-08-29 20:40:50 -04:00 committed by Matthias Clasen
parent c51830f453
commit a2420c7db5

View File

@ -4892,6 +4892,7 @@ save_folder_update_tooltip (GtkComboBox *combo,
gtk_widget_set_tooltip_text (GTK_WIDGET (combo), tooltip); gtk_widget_set_tooltip_text (GTK_WIDGET (combo), tooltip);
gtk_widget_set_has_tooltip (GTK_WIDGET (combo), gtk_widget_set_has_tooltip (GTK_WIDGET (combo),
gtk_widget_get_sensitive (GTK_WIDGET (combo))); gtk_widget_get_sensitive (GTK_WIDGET (combo)));
g_free (tooltip);
} }
/* Filter function used to filter out the Search item and its separator. /* Filter function used to filter out the Search item and its separator.