Browse Source

Do some proper cleanup and delete the desktop window on close.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4431 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 13 years ago
parent
commit
6a9e2e6341
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      vncviewer/CConn.cxx

+ 3
- 0
vncviewer/CConn.cxx View File

@@ -102,6 +102,9 @@ CConn::~CConn()
{
OptionsDialog::removeCallback(handleOptions);

if (desktop)
delete desktop;

free(serverHost);
if (sock)
Fl::remove_fd(sock->getFd());

Loading…
Cancel
Save