null_pointer_data must actually be 24 bytes. Fixes another Valgrind
warning. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@787 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
43982a43ce
commit
78710116bc
3
xwin.c
3
xwin.c
@ -946,7 +946,8 @@ BOOL
|
|||||||
ui_create_window(void)
|
ui_create_window(void)
|
||||||
{
|
{
|
||||||
uint8 null_pointer_mask[1] = { 0x80 };
|
uint8 null_pointer_mask[1] = { 0x80 };
|
||||||
uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
uint8 null_pointer_data[24] = { 0x00 };
|
||||||
|
|
||||||
XSetWindowAttributes attribs;
|
XSetWindowAttributes attribs;
|
||||||
XClassHint *classhints;
|
XClassHint *classhints;
|
||||||
XSizeHints *sizehints;
|
XSizeHints *sizehints;
|
||||||
|
Loading…
Reference in New Issue
Block a user