HomeFreeBSD

libefi: efipart_open should check the status from disk_open

Description

libefi: efipart_open should check the status from disk_open

In case of error from disk_open(), we should clean up properly.

Reviewed by: allanjude, imp
Differential Revision: https://reviews.freebsd.org/D12340

Details

Provenance
tsoomeAuthored on
Reviewer
allanjude
Differential Revision
D12340: libefi: efipart_open should check the status from disk_open
Parents
rS323496: libstand: tftp_open() can leak pkt on error
Branches
Unknown
Tags
Unknown