Skip to content
Commit 28c26728 authored by Andreas Hartmetz's avatar Andreas Hartmetz
Browse files

Introduce KXcbEvent to initialize the memory of sent XCB events

The XCB events were often stack-allocated and partially
uninitialized - valgrind complained in some cases. The XCB
documentation recommends using calloc(32, 1) for them, but we can
also use the stack and initialize the memory using a little
wrapper. Also make sure that the initialized memory has the right
*size*, because according to XCB docs, 32 bytes are always sent,
so 32 bytes should be initialized to prevent leaking information.
parent 6c102b98
Pipeline #653723 passed with stage
in 1 minute and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment