mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 06:50:05 +01:00
test: silence a valgrind warning
(cherry picked from commit 39aea2a8d6)
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1375>
This commit is contained in:
parent
11063aa28b
commit
f2bf1d9aef
1 changed files with 2 additions and 1 deletions
|
|
@ -123,6 +123,7 @@ static void
|
|||
close_pipes(int fds[_FD_LAST])
|
||||
{
|
||||
for (int i = 0; i < _FD_LAST; i++) {
|
||||
if (fds[i] != -1)
|
||||
fsync(fds[i]);
|
||||
xclose(&fds[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue