HomeFreeBSD

If moving descriptor or binary data to an nvlist fails, we need to close the

Description

If moving descriptor or binary data to an nvlist fails, we need to close the
descriptor or free the memory before returning.

Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>

While here, protect errno, so it won't be overwritted by close(2) or free(3).

Details

Provenance
pjdAuthored on
Parents
rS277919: MFC r277247: Don't count status as sent until CTIO completes successfully.
Branches
Unknown
Tags
Unknown

Event Timeline