diff --git a/renderdoc/driver/ihv/intel/intel_counters.cpp b/renderdoc/driver/ihv/intel/intel_counters.cpp index c43b30c39..2c8565f19 100644 --- a/renderdoc/driver/ihv/intel/intel_counters.cpp +++ b/renderdoc/driver/ihv/intel/intel_counters.cpp @@ -43,6 +43,8 @@ IntelCounters::IntelCounters() IntelCounters::~IntelCounters() { + SAFE_RELEASE(m_deviceContext); + if(CloseMetricsDevice) { CloseMetricsDevice(m_metricsDevice);