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