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