From 9bc3ae99034188e5f5927d9fb47040c6cd34892c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:50:15 +0300 Subject: fix deletion in keyboardconfig. --- src/input/keyboardconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp index 3c14db805..16e4f3c48 100644 --- a/src/input/keyboardconfig.cpp +++ b/src/input/keyboardconfig.cpp @@ -48,7 +48,7 @@ KeyboardConfig::KeyboardConfig() : void KeyboardConfig::init() { mEnabled = true; - delete mActiveKeys2; + delete [] mActiveKeys2; mActiveKeys2 = new uint8_t[500]; mRepeatTime = config.getIntValue("repeateInterval2") / 10; } -- cgit v1.2.3-70-g09d2