mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fix a memory leak
This commit is contained in:
@@ -43,6 +43,7 @@ namespace sdl
|
||||
keylist[counter] = Keyboard::KEY_MAX_ENUM;
|
||||
|
||||
luax_pushboolean(L, instance->isDown(keylist));
|
||||
delete[] keylist;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user