mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +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
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
* Copyright (C) 2022-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,10 +11,11 @@ namespace NEO {
|
||||
std::set<std::string> virtualFileList;
|
||||
|
||||
void VirtualFileSystemListener::OnTestStart(const ::testing::TestInfo &testInfo) {
|
||||
virtualFileList.clear();
|
||||
}
|
||||
|
||||
void VirtualFileSystemListener::OnTestEnd(const ::testing::TestInfo &) {}
|
||||
void VirtualFileSystemListener::OnTestEnd(const ::testing::TestInfo &) {
|
||||
virtualFileList.clear();
|
||||
}
|
||||
void VirtualFileSystemListener::OnTestProgramStart(const testing::UnitTest &) {}
|
||||
void VirtualFileSystemListener::OnTestIterationStart(const testing::UnitTest &, int) {}
|
||||
void VirtualFileSystemListener::OnEnvironmentsSetUpStart(const testing::UnitTest &) {}
|
||||
|
||||
Reference in New Issue
Block a user