Fix memory leak (RGBController::GetDeviceDescription)

This commit is contained in:
morg committed 2021-03-27 22:15:24 +01:00
1 parent e848be5159
commit 8ef9f622f1
2 files changed
+4

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ bool ProfileManager::SaveProfile(std::string profile_name, bool sizes)
memcpy(&controller_size, controller_data, sizeof(controller_size));
controller_file.write((const char *)controller_data, controller_size);
delete controller_data;
}
/*---------------------------------------------------------*\