diff options
| author | Colin Ian King <[email protected]> | 2016-04-28 15:24:37 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-04-28 16:02:28 +0200 |
| commit | 983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c (patch) | |
| tree | 77545e6fe46603334d6c6585ae00532f024e6872 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 04b03594c73c1877a98c7a657cc45bf5e9d89f7c (diff) | |
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 <[email protected]>
Signed-off-by: Thomas Renninger <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions