From b3c8c8e592b1d2911f16e9e51972fc993d20d213 Mon Sep 17 00:00:00 2001 From: Yi-Soo An Date: Mon, 13 Aug 2018 17:21:42 +0900 Subject: [PATCH] window: Fix memory leak https://gitlab.gnome.org/GNOME/gtk/issues/1268 --- gtk/gtkwindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 500cef8e53..f65a7b98e8 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -10985,6 +10985,7 @@ gtk_window_export_handle (GtkWindow *window, handle_str = g_strdup_printf ("x11:%x", xid); callback (window, handle_str, user_data); + g_free (handle_str); return TRUE; }