Skip to content
Commit 4071225c authored by Antonio Borneo's avatar Antonio Borneo
Browse files

clients: close unused keymap fd



In the simple examples in which keymap is not handled, the open
descriptor has to be properly closed.

After each suspend/resume sequence the keymap is send again to
every client. On client weston-simple-egl the leak causes a
segfault when no more file descriptors can be opened.

Close the file descriptor and lazily copy/paste the comment
already available in simple-dmabuf-v4l.

Signed-off-by: default avatarAntonio Borneo <borneo.antonio@gmail.com>
parent 7bd14029
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