Skip to content
Commit 4fe66b1c authored by Ryan C. Gordon's avatar Ryan C. Gordon Committed by Alan Coopersmith
Browse files

Valgrind fix for XStoreColor and XStoreColors.

If the "pad" field isn't set, Valgrind will report it as uninitialized
memory accesses when the struct is copied into the Display's send buffer.

In practice, this is (probably) harmless, but Valgrind is correct in
believing it's a bug.

https://bugs.freedesktop.org/attachment.cgi?id=133189



Reviewed-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 7d2010fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment