From 2c9c88f7263edb59c21fe7eb0886def4c936f04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Wed, 8 Sep 2004 07:19:20 +0000 Subject: [PATCH] The current version of ui_create_cursor requires that null_pointer_data is nine octets. This patch fixes valgrind errors. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@762 423420c4-83ab-492f-b58f-81f9feb106b5 --- xwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwin.c b/xwin.c index 990c1cd..107df75 100644 --- a/xwin.c +++ b/xwin.c @@ -946,7 +946,7 @@ BOOL ui_create_window(void) { uint8 null_pointer_mask[1] = { 0x80 }; - uint8 null_pointer_data[4] = { 0x00, 0x00, 0x00, 0x00 }; + uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; XSetWindowAttributes attribs; XClassHint *classhints; XSizeHints *sizehints;