diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-13 10:59:34 +0530 |
---|---|---|
committer | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-05-13 14:56:34 +0530 |
commit | 0cd9ef8bcfaa0c74321d919f403d9211d7752b56 (patch) | |
tree | f07a55a7293fbe79635b5a2d4ea068530d1ff75d | |
parent | 1f82697e990c8b46cbe528e14a01cb26e9958322 (diff) | |
download | gtk+-0cd9ef8bcfaa0c74321d919f403d9211d7752b56.tar.gz |
aboutdialog: Fix memory leak
-rw-r--r-- | gtk/gtkaboutdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 49d890dddf..57e8485740 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -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); |