test: close the right pipe fds

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2013-06-28 13:15:27 +10:00
parent e8f059f235
commit 20fb3fc875

View file

@ -133,8 +133,8 @@ START_TEST(test_syn_event)
libevdev_free(dev); libevdev_free(dev);
uinput_device_free(uidev); uinput_device_free(uidev);
close(pipefd[0]);
close(pipefd[1]); close(pipefd[1]);
close(pipefd[2]);
} }
END_TEST END_TEST