mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix sampler lifecycle
- Add refcount to sampler to avoid use after free Change-Id: I0f03d8ed29b5b9dc5bee355ed266ac7437e92509
This commit is contained in:

committed by
sys_ocldev

parent
1a85f83235
commit
53d99ead24
@ -70,8 +70,8 @@ class KernelSlmArgTest : public Test<DeviceFixture> {
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
delete pKernelInfo;
|
||||
delete pKernel;
|
||||
delete pKernelInfo;
|
||||
DeviceFixture::TearDown();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user