forkpty: Avoid fd leak if fork() fails.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D41491
forkpty: Avoid fd leak if fork() fails. Tags None Referenced Files None Subscribers None
Description
Details
|