aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlestat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/idlestat.c b/idlestat.c
index ede98a0..f6a07e5 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -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);