summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-05-28 11:59:36 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-05-28 11:59:36 (GMT)
commit6b75c19e42cd7ffd6d8c0716aa9b1251be28b3e7 (patch)
tree69e3dd4b13a0ad75b7b3c6a88990c4f7551920a6 /src/gui
parent3331605529d2d81145259fd56d03bb59c480cac5 (diff)
downloadQt-6b75c19e42cd7ffd6d8c0716aa9b1251be28b3e7.zip
Qt-6b75c19e42cd7ffd6d8c0716aa9b1251be28b3e7.tar.gz
Qt-6b75c19e42cd7ffd6d8c0716aa9b1251be28b3e7.tar.bz2
Forgot to close the TTY handle.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/embedded/qkbdtty_qws.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/embedded/qkbdtty_qws.cpp b/src/gui/embedded/qkbdtty_qws.cpp
index 5c0dec8..31489cf 100644
--- a/src/gui/embedded/qkbdtty_qws.cpp
+++ b/src/gui/embedded/qkbdtty_qws.cpp
@@ -209,6 +209,7 @@ QWSTtyKbPrivate::~QWSTtyKbPrivate()
::ioctl(m_tty_fd, KDSKBMODE, K_XLATE);
#endif
tcsetattr(m_tty_fd, TCSANOW, &m_tty_attr);
+ QT_CLOSE(m_tty_fd);
}
}