diff options
-rw-r--r-- | idlestat.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -293,6 +293,7 @@ int cpuidle_get_target_residency(int cpu, int state) free(fpath); return -1; } + free(fpath); ret = fscanf(snf, "%u", &tr); fclose(snf); |
index : idlestat.git | ||
count cpu in idle time and period. |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | idlestat.c | 1 |
@@ -293,6 +293,7 @@ int cpuidle_get_target_residency(int cpu, int state) free(fpath); return -1; } + free(fpath); ret = fscanf(snf, "%u", &tr); fclose(snf); |