From 5e04c269078655503422588153d09afa1d742463 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 9 Nov 2011 11:31:12 +0000 Subject: 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 --- common/rfb/Security.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 Security::GetEnabledSecTypes(void) -- cgit v1.2.3