Skip to content
Commit ffb78089 authored by Antonio Borneo's avatar Antonio Borneo Committed by Simon Ser
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>
(cherry picked from commit 4071225c)
parent 5b1bf972
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