aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer-constraints.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-18 22:31:09 +0100
committerSimon Ser <contact@emersion.fr>2021-01-18 22:31:09 +0100
commit702eed5cbd5a67ec0b0958638e193580fd0b3b55 (patch)
treeb5ebef96f9efb302ac4d17d4e7c0564c1c4b3a3a /examples/pointer-constraints.c
parent966e65393560fea6db84fb42019fa27127975cdc (diff)
backend/x11: fix region not being actually used
The region variable was shadowed in an if block. As a result, in the outer block region was always XCB_NONE and was never destroyed (causing a memory leak on the server). Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'examples/pointer-constraints.c')
0 files changed, 0 insertions, 0 deletions