From 58278c2642fd3a92b36f33fc1f54b28906eab6c5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 26 Jan 2016 00:22:22 +0100 Subject: [PATCH] Avoid a memory leak with the about dialog --- src/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.c b/src/window.c index f55bd00..b23207d 100644 --- a/src/window.c +++ b/src/window.c @@ -148,6 +148,7 @@ static void _flashlightwindow_on_about(gpointer data) desktop_about_dialog_set_version(dialog, VERSION); desktop_about_dialog_set_website(dialog, "http://www.defora.org/"); gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); }