HomeFreeBSD

g_part_gpt: Fix memory leak in error path

Description

g_part_gpt: Fix memory leak in error path

If g_part_gpt_read() encountered a disk with bad primary and secondary
tables, it could leak memory.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS330561: chflags: Add SIGINFO support.
Branches
Unknown
Tags
Unknown