diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/top.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/top.c b/procps/top.c index 5c41e8e10..8d39526ff 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -979,9 +979,11 @@ static unsigned handle_input(unsigned scan_mask, duration_t interval) | |||
979 | IF_FEATURE_TOPMEM(&& scan_mask != TOPMEM_MASK) | 979 | IF_FEATURE_TOPMEM(&& scan_mask != TOPMEM_MASK) |
980 | ) { | 980 | ) { |
981 | scan_mask ^= PSSCAN_TASKS; | 981 | scan_mask ^= PSSCAN_TASKS; |
982 | # if ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE | ||
982 | free(prev_hist); | 983 | free(prev_hist); |
983 | prev_hist = NULL; | 984 | prev_hist = NULL; |
984 | prev_hist_count = 0; | 985 | prev_hist_count = 0; |
986 | # endif | ||
985 | continue; | 987 | continue; |
986 | } | 988 | } |
987 | # endif | 989 | # endif |