Fixing memory leaks in controllers
This commit is contained in:
parent
aa59c6132e
commit
dba814215d
165 changed files with 444 additions and 71 deletions
|
|
@ -84,6 +84,11 @@ RGBController_GalaxGPU::RGBController_GalaxGPU(GalaxGPUController * galax_gpu_pt
|
|||
active_mode = GetDeviceMode();
|
||||
}
|
||||
|
||||
RGBController_GalaxGPU::~RGBController_GalaxGPU()
|
||||
{
|
||||
delete galax_gpu;
|
||||
}
|
||||
|
||||
void RGBController_GalaxGPU::SetupZones()
|
||||
{
|
||||
/*---------------------------------------------------------*\
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ class RGBController_GalaxGPU : public RGBController
|
|||
{
|
||||
public:
|
||||
RGBController_GalaxGPU(GalaxGPUController* galax_gpu_ptr);
|
||||
~RGBController_GalaxGPU();
|
||||
|
||||
void SetupZones();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue