diff options
Diffstat (limited to 'src/osx/sensors.cpp')
-rw-r--r-- | src/osx/sensors.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osx/sensors.cpp b/src/osx/sensors.cpp index 8252238..8451bd1 100644 --- a/src/osx/sensors.cpp +++ b/src/osx/sensors.cpp @@ -7,6 +7,8 @@ #include <map> #include <string> +#include <btop_tools.hpp> + extern "C" { typedef struct __IOHIDEvent *IOHIDEventRef; typedef struct __IOHIDServiceClient *IOHIDServiceClientRef; @@ -60,6 +62,7 @@ CFArrayRef getProductNames(CFDictionaryRef sensors) { } CFRelease(name); } + CFRelease(system); return array; } |