Properly delete[] arrays
This commit is contained in:
parent
689a31580c
commit
abd59be30d
|
@ -330,8 +330,8 @@ struct InputPrivate
|
|||
|
||||
~InputPrivate()
|
||||
{
|
||||
delete states;
|
||||
delete statesOld;
|
||||
delete[] states;
|
||||
delete[] statesOld;
|
||||
}
|
||||
|
||||
inline ButtonState &getStateCheck(int code)
|
||||
|
|
Loading…
Reference in New Issue