HomeFreeBSD

fexecve: don't leak fd on fexecve(2) failure; close before calling err

Description

fexecve: don't leak fd on fexecve(2) failure; close before calling err

MFC after: 3 days
Reported by: Coverity
CID: 978285

Details

Provenance
ngieAuthored on
Parents
rS311245: tty: don't leak s after opening it with openpty
Branches
Unknown
Tags
Unknown