aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CConnection.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-09 15:26:56 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-09 15:26:56 +0100
commit07eec1b59bcc4c03c4b3f090be8458b8e4836555 (patch)
tree16d7ff140cc02665fb4ef398e8f0f90c498de835 /common/rfb/CConnection.cxx
parent36eac99929c4313c8a9b789be2f3dcebd37dcf3a (diff)
downloadtigervnc-07eec1b59bcc4c03c4b3f090be8458b8e4836555.tar.gz
tigervnc-07eec1b59bcc4c03c4b3f090be8458b8e4836555.zip
Remove unused deleteReaderAndWriter() method
Diffstat (limited to 'common/rfb/CConnection.cxx')
-rw-r--r--common/rfb/CConnection.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx
index 8ccd948b..8cfc2b26 100644
--- a/common/rfb/CConnection.cxx
+++ b/common/rfb/CConnection.cxx
@@ -43,11 +43,6 @@ CConnection::CConnection()
CConnection::~CConnection()
{
if (csecurity) csecurity->destroy();
- deleteReaderAndWriter();
-}
-
-void CConnection::deleteReaderAndWriter()
-{
delete reader_;
reader_ = 0;
delete writer_;