branches with status:
Name Status Last Modified Last Commit
lp:~firmware-testing-team/fwts/master 1 Development 2020-07-07 06:16:43 UTC 22 hours ago
4569. tpmevlogdump: fix leak of fd on error...

Author: Colin Ian King
Revision Date: 2020-07-07 06:16:43 UTC

tpmevlogdump: fix leak of fd on error return paths, voidify close returns

Ensure that fd is not leaked on error returns paths, close these before
returning. Make minor closedir re-ordering change at end of function
to save one closedir call. Explicitly void-ify the error returns from
close and closedir calls.

Signed-off-by: Colin Ian King <>
Acked-by: Ivan Hu <>
Acked-by: Alex Hung <>

11 of 1 result