Fixing memory leaks in controllers
This commit is contained in:
parent
aa59c6132e
commit
dba814215d
165 changed files with 444 additions and 71 deletions
|
|
@ -14,6 +14,11 @@ RGBController::~RGBController()
|
|||
DeviceThreadRunning = false;
|
||||
DeviceCallThread->join();
|
||||
delete DeviceCallThread;
|
||||
|
||||
leds.clear();
|
||||
colors.clear();
|
||||
zones.clear();
|
||||
modes.clear();
|
||||
}
|
||||
|
||||
unsigned char * RGBController::GetDeviceDescription(unsigned int protocol_version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue