diff options
author | Christophe JAILLET <[email protected]> | 2023-02-25 11:58:48 +0100 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2023-09-04 21:56:09 +0300 |
commit | 9c377852ddfdc557b1370f196b0cfdf28d233460 (patch) | |
tree | 24dcb39c21aefc488e4d4703aca11049b3c71ec4 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 708283abf896dd4853e673cc8cba70acaf9bf4ea (diff) |
tpm_crb: Fix an error handling path in crb_acpi_add()
Some error paths don't call acpi_put_table() before returning.
Branch to the correct place instead of doing some direct return.
Fixes: 4d2732882703 ("tpm_crb: Add support for CRB devices based on Pluton")
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Matthew Garrett <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions