From 1198d3ed3c85c4fcfab185cb2dc84430e4bece69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gr=C3=BCn-Drebes?= Date: Mon, 31 Aug 2026 16:14:25 +0000 Subject: [PATCH] Fix use-after-free in RGBController_HIDLampArray destructor --- .../HIDLampArrayController/RGBController_HIDLampArray.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controllers/HIDLampArrayController/RGBController_HIDLampArray.cpp b/Controllers/HIDLampArrayController/RGBController_HIDLampArray.cpp index 8e4cb25e9..0898c81a7 100644 --- a/Controllers/HIDLampArrayController/RGBController_HIDLampArray.cpp +++ b/Controllers/HIDLampArrayController/RGBController_HIDLampArray.cpp @@ -83,6 +83,8 @@ RGBController_HIDLampArray::RGBController_HIDLampArray(HIDLampArrayController* c RGBController_HIDLampArray::~RGBController_HIDLampArray() { + Shutdown(); + delete controller; }