From 23b629e27cd1449b0af708e69af94d532a577270 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 7 Jan 2016 18:55:04 +0100 Subject: [PATCH] x11: Initialize GdkWindowAttr struct memory Valgrind complains about jumps based on uninitialized values otherwise. --- gdk/x11/gdkdnd-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index 86ecb8208c..69f1b94c91 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -1939,7 +1939,7 @@ gdk_drag_do_leave (GdkX11DragContext *context_x11, static GdkWindow * create_drag_window (GdkScreen *screen) { - GdkWindowAttr attrs; + GdkWindowAttr attrs = { 0 }; guint mask; attrs.x = attrs.y = 0;