Fixing memory leaks in controllers
This commit is contained in:
parent
aa59c6132e
commit
dba814215d
165 changed files with 444 additions and 71 deletions
|
|
@ -125,6 +125,11 @@ RGBController_HyperXDRAM::RGBController_HyperXDRAM(HyperXDRAMController* hyperx_
|
|||
SetupZones();
|
||||
}
|
||||
|
||||
RGBController_HyperXDRAM::~RGBController_HyperXDRAM()
|
||||
{
|
||||
delete hyperx;
|
||||
}
|
||||
|
||||
void RGBController_HyperXDRAM::SetupZones()
|
||||
{
|
||||
for(unsigned int slot = 0; slot < hyperx->GetSlotCount(); slot++)
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class RGBController_HyperXDRAM : public RGBController
|
|||
{
|
||||
public:
|
||||
RGBController_HyperXDRAM(HyperXDRAMController* hyperx_ptr);
|
||||
~RGBController_HyperXDRAM();
|
||||
|
||||
void SetupZones();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue