mirror of
https://github.com/AntiMicroX/antimicrox.git
synced 2026-08-01 10:07:23 -04:00
Added Fixes and found memory leaks - #93
This commit is contained in:
@@ -307,6 +307,11 @@ void InputDaemon::deleteJoysticks()
|
||||
{
|
||||
InputDevice *joystick = iter.next().value();
|
||||
|
||||
for (auto el : joystick->getJoystick_sets().values())
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (joystick != nullptr)
|
||||
{
|
||||
delete joystick;
|
||||
|
||||
Reference in New Issue
Block a user