Home
last modified time | relevance | path

Searched hist:"983 d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c" (Results 1 – 1 of 1) sorted by relevance

/linux/tools/power/cpupower/bench/
H A Dparse.cdiff 983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c Thu Apr 28 15:24:37 CEST 2016 Colin Ian King <colin.king@canonical.com> 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>