diff options
Diffstat (limited to 'common/rfb/SConnection.cxx')
-rw-r--r-- | common/rfb/SConnection.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx index 6b810559..ae43254d 100644 --- a/common/rfb/SConnection.cxx +++ b/common/rfb/SConnection.cxx @@ -64,7 +64,8 @@ SConnection::SConnection() SConnection::~SConnection() { - if (ssecurity) ssecurity->destroy(); + if (ssecurity) + delete ssecurity; delete reader_; reader_ = 0; delete writer_; |