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:
parent
9e3865c76d
commit
446287462b
@ -153,7 +153,7 @@ BKeymap::SetToDefault()
|
||||
void
|
||||
BKeymap::Unset()
|
||||
{
|
||||
delete fChars;
|
||||
delete[] fChars;
|
||||
fChars = NULL;
|
||||
fCharsSize = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user