From a1f978014b5a1ec1abf22d16b9031b5af7d45147 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 16 Apr 2016 13:52:34 +0200 Subject: [PATCH] turbostat plugin: reset the right variable --- src/turbostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turbostat.c b/src/turbostat.c index fc1b5dcc..bd5d86cd 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1342,7 +1342,7 @@ free_all_buffers(void) CPU_FREE(cpu_present_set); cpu_present_set = NULL; - cpu_present_set = 0; + cpu_present_setsize = 0; CPU_FREE(cpu_affinity_set); cpu_affinity_set = NULL; -- 2.30.2