diff options
-rw-r--r-- | inputdev.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inputdev.cc b/inputdev.cc index a65f97e..df7ca55 100644 --- a/inputdev.cc +++ b/inputdev.cc @@ -655,6 +655,8 @@ bool cInputDeviceController::open_generic(int fd_udev) return true; err: + this->close(fd_alive_[0]); + this->close(fd_alive_[1]); this->close(fd_epoll); return false; } |