Fixing memory leaks in controllers
This commit is contained in:
parent
aa59c6132e
commit
dba814215d
165 changed files with 444 additions and 71 deletions
|
|
@ -30,6 +30,11 @@ RGBController_LinuxLED::RGBController_LinuxLED(LinuxLEDController* controller_pt
|
|||
SetupZones();
|
||||
}
|
||||
|
||||
RGBController_LinuxLED::~RGBController_LinuxLED()
|
||||
{
|
||||
delete controller;
|
||||
}
|
||||
|
||||
void RGBController_LinuxLED::SetupZones()
|
||||
{
|
||||
zone led_zone;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ class RGBController_LinuxLED : public RGBController
|
|||
{
|
||||
public:
|
||||
RGBController_LinuxLED(LinuxLEDController* controller_ptr);
|
||||
~RGBController_LinuxLED();
|
||||
|
||||
void SetupZones();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue