Don't leak fd when manipulating the device via _getdev()
Close the file descriptor when done calling ioctl with a try-finally block so
it doesn't get leaked.
MFC after: 2 months
Don't leak `fd` when manipulating the device via `_getdev()` Tags None Referenced Files None Subscribers None
Description
Details
|