diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-11-09 11:31:12 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-11-09 11:31:12 +0000 |
commit | 5e04c269078655503422588153d09afa1d742463 (patch) | |
tree | cc5a9ff13e240da920b97a38ea7a9b28f9ab54ea /vncviewer | |
parent | e3cb4a2f6c870ab91ed25e448eb95be0ecd09812 (diff) | |
download | tigervnc-5e04c269078655503422588153d09afa1d742463.tar.gz tigervnc-5e04c269078655503422588153d09afa1d742463.zip |
Use the correct matching free operation. Patch by Matthieu Lochegnies.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4786 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/CConn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index 46dcd228..3e008ca9 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -122,7 +122,7 @@ CConn::~CConn() if (desktop) delete desktop; - free(serverHost); + delete [] serverHost; if (sock) Fl::remove_fd(sock->getFd()); delete sock; |