aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-11-09 11:31:12 +0000
committerPierre Ossman <ossman@cendio.se>2011-11-09 11:31:12 +0000
commit5e04c269078655503422588153d09afa1d742463 (patch)
treecc5a9ff13e240da920b97a38ea7a9b28f9ab54ea /common
parente3cb4a2f6c870ab91ed25e448eb95be0ecd09812 (diff)
downloadtigervnc-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 'common')
-rw-r--r--common/rfb/Security.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index b5f361e9..238f3351 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -63,7 +63,7 @@ Security::Security(StringParameter &secTypes)
secTypesStr = secTypes.getData();
enabledSecTypes = parseSecTypes(secTypesStr);
- delete secTypesStr;
+ delete [] secTypesStr;
}
const std::list<rdr::U8> Security::GetEnabledSecTypes(void)