tools: hv: Fix file descriptor leaks
Close "fd" file descriptor when is goes out of scope so it does not leak. Signed-off-by: NTomas Hozza <thozza@redhat.com> Acked-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录