mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-22 00:25:04 -04:00
Fixing memory leaks in controllers
This commit is contained in:
1 parent
aa59c6132e
commit
dba814215d
165 files changed
+444
-71
No files matched your search
@@ -31,6 +31,11 @@ SonyDS4Controller::SonyDS4Controller(hid_device * device_handle, const char * de
|
||||
location = device_path;
|
||||
}
|
||||
|
||||
SonyDS4Controller::~SonyDS4Controller()
|
||||
{
|
||||
hid_close(device_handle);
|
||||
}
|
||||
|
||||
std::string SonyDS4Controller::GetLocation()
|
||||
{
|
||||
return("HID: " + location);
|
||||
|
||||
Reference in new issue
Block a user