[gtk: 1/2] window: Fix memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] window: Fix memory leak
- Date: Mon, 13 Aug 2018 19:36:46 +0000 (UTC)
commit b3c8c8e592b1d2911f16e9e51972fc993d20d213
Author: Yi-Soo An <yisooan gmail com>
Date: Mon Aug 13 17:21:42 2018 +0900
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]