mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
aboutdialog: Fix memory leak
This commit is contained in:
parent
1f82697e99
commit
0cd9ef8bcf
@ -801,6 +801,7 @@ gtk_about_dialog_finalize (GObject *object)
|
||||
g_free (priv->website_url);
|
||||
g_free (priv->website_text);
|
||||
g_free (priv->translator_credits);
|
||||
g_free (priv->system_information);
|
||||
|
||||
g_strfreev (priv->authors);
|
||||
g_strfreev (priv->documenters);
|
||||
@ -1371,6 +1372,7 @@ gtk_about_dialog_set_system_information (GtkAboutDialog *about,
|
||||
|
||||
priv = about->priv;
|
||||
|
||||
g_free (priv->system_information);
|
||||
priv->system_information = g_strdup (system_information);
|
||||
update_system_button_visibility (about);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user