Revision: 4431
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4431&view=rev
Author:   ossman_
Date:     2011-05-19 14:47:43 +0000 (Thu, 19 May 2011)

Log Message:
-----------
Do some proper cleanup and delete the desktop window on close.

Modified Paths:
--------------
    trunk/vncviewer/CConn.cxx

Modified: trunk/vncviewer/CConn.cxx
===================================================================
--- trunk/vncviewer/CConn.cxx   2011-05-19 14:47:15 UTC (rev 4430)
+++ trunk/vncviewer/CConn.cxx   2011-05-19 14:47:43 UTC (rev 4431)
@@ -102,6 +102,9 @@
 {
   OptionsDialog::removeCallback(handleOptions);
 
+  if (desktop)
+    delete desktop;
+
   free(serverHost);
   if (sock)
     Fl::remove_fd(sock->getFd());


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to