Fixing memory leaks in controllers

This commit is contained in:
morg committed 2021-02-05 16:25:46 +01:00
1 parent aa59c6132e
commit dba814215d
165 files changed
+444 -71

No files matched your search

@@ -17,6 +17,11 @@ LogitechG203Controller::LogitechG203Controller(hid_device* dev_handle, const cha
location = path;
}
LogitechG203Controller::~LogitechG203Controller()
{
hid_close(dev);
}
std::string LogitechG203Controller::GetDeviceLocation()
{
return("HID " + location);