linux_dsm_epyc7002/tools/power/cpupower/bench
Colin Ian King 983d9e065b cpupower: bench: parse.c: fix several resource leaks
The error handling in prepare_output has several issues with
resource leaks.  Ensure that filename is free'd and the directory
stream DIR is closed before returning.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-04-28 16:02:28 +02:00
..
benchmark.c cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
benchmark.h cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
config.h cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
cpufreq-bench_plot.sh cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00
cpufreq-bench_script.sh cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00
example.cfg cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00
main.c cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
Makefile Honour user's LDFLAGS 2016-04-28 16:02:28 +02:00
parse.c cpupower: bench: parse.c: fix several resource leaks 2016-04-28 16:02:28 +02:00
parse.h cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
README-BENCH cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00
system.c cpupowerutils: bench - ConfigStyle bugfixes 2011-07-29 18:35:38 +02:00
system.h cpupowerutils - cpufrequtils extended with quite some features 2011-07-29 18:35:36 +02:00