mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
fix: cleanup memory leaks in ocloc
- enable memory leaks detection in ocloc tests Related-To: NEO-7467 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bab299ee78
commit
97a8f15fbd
@@ -339,6 +339,12 @@ int OfflineCompiler::buildSourceCode() {
|
||||
return retVal;
|
||||
}
|
||||
}
|
||||
delete[] irBinary;
|
||||
delete[] genBinary;
|
||||
irBinary = nullptr;
|
||||
irBinarySize = 0;
|
||||
genBinary = nullptr;
|
||||
genBinarySize = 0;
|
||||
}
|
||||
|
||||
UNRECOVERABLE_IF(!igcFacade->isInitialized());
|
||||
|
||||
Reference in New Issue
Block a user