diff --git a/shared/source/command_stream/command_stream_receiver.cpp b/shared/source/command_stream/command_stream_receiver.cpp index 3dccd7199f..01832b16c1 100644 --- a/shared/source/command_stream/command_stream_receiver.cpp +++ b/shared/source/command_stream/command_stream_receiver.cpp @@ -65,6 +65,10 @@ CommandStreamReceiver::~CommandStreamReceiver() { } cleanupResources(); + profilingTimeStampAllocator.reset(); + perfCounterAllocator.reset(); + timestampPacketAllocator.reset(); + internalAllocationStorage->cleanAllocationList(-1, REUSABLE_ALLOCATION); internalAllocationStorage->cleanAllocationList(-1, TEMPORARY_ALLOCATION); getMemoryManager()->unregisterEngineForCsr(this);