Fixing memory leaks in controllers
This commit is contained in:
parent
aa59c6132e
commit
dba814215d
165 changed files with 444 additions and 71 deletions
|
|
@ -19,7 +19,7 @@ HyperXMousematController::HyperXMousematController(hid_device* dev_handle, const
|
|||
|
||||
HyperXMousematController::~HyperXMousematController()
|
||||
{
|
||||
|
||||
hid_close(dev);
|
||||
}
|
||||
|
||||
std::string HyperXMousematController::GetDeviceLocation()
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ RGBController_HyperXMousemat::~RGBController_HyperXMousemat()
|
|||
keepalive_thread_run = 0;
|
||||
keepalive_thread->join();
|
||||
delete keepalive_thread;
|
||||
|
||||
delete hyperx;
|
||||
}
|
||||
|
||||
void RGBController_HyperXMousemat::SetupZones()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue