Properly delete[] arrays

This commit is contained in:
Jonas Kulla 2013-09-04 17:52:03 +02:00
parent 689a31580c
commit abd59be30d
1 changed files with 2 additions and 2 deletions

View File

@ -330,8 +330,8 @@ struct InputPrivate
~InputPrivate()
{
delete states;
delete statesOld;
delete[] states;
delete[] statesOld;
}
inline ButtonState &getStateCheck(int code)