From: Ruben Kerkhof Date: Sat, 16 Apr 2016 11:52:34 +0000 (+0200) Subject: turbostat plugin: reset the right variable X-Git-Tag: collectd-5.6.0~342 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a1f978014b5a1ec1abf22d16b9031b5af7d45147;p=collectd.git turbostat plugin: reset the right variable --- 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;