summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2011-12-16 15:35:54 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2012-03-03 14:40:10 +0100
commite0c6082daeb982df70f00bbb122fed66f7f57c3e (patch)
tree2032a8c9ffbdfc23d1f9e959aa73635ddce83d36 /tools/testing
parentcpupower: Fix number of idle states (diff)
downloadlinux-e0c6082daeb982df70f00bbb122fed66f7f57c3e.tar.xz
linux-e0c6082daeb982df70f00bbb122fed66f7f57c3e.zip
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 <trenn@suse.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions