CID 1463: Delete an array with delete[]

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37960 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2010-08-07 23:17:26 +00:00
parent 9e3865c76d
commit 446287462b

View File

@ -153,7 +153,7 @@ BKeymap::SetToDefault()
void
BKeymap::Unset()
{
delete fChars;
delete[] fChars;
fChars = NULL;
fCharsSize = 0;