hwc: Fix klockwork errors
Resolving klockwork errors to avoid memory leaks, improper assignments in liboverlay. Change-Id: I82ac6ae782c7b783e89999b832bbd1d361376b9f
This commit is contained in:
@@ -271,7 +271,12 @@ IAllocController* IAllocController::getInstance(void)
|
||||
//-------------- IonController-----------------------//
|
||||
IonController::IonController()
|
||||
{
|
||||
mIonAlloc = new IonAlloc();
|
||||
allocateIonMem();
|
||||
}
|
||||
|
||||
void IonController::allocateIonMem()
|
||||
{
|
||||
mIonAlloc = new IonAlloc();
|
||||
}
|
||||
|
||||
int IonController::allocate(alloc_data& data, int usage)
|
||||
|
||||
Reference in New Issue
Block a user