Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpupower: Remove unneeded code and by that fix a memleak
Looks like some not needed debug code slipped in. Also this code: tmp = sysfs_get_idlestate_name(cpu, idlestates - 1); performs a strdup and the mem was not freed again. -> delete it. Signed-off-by: Thomas Renninger <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
- Loading branch information