netlink_open: close socket on error
All uses of netlink_open() assume that on error the
nl_handler doesn't need to be closed, but some error cases
happen after the socket was opened successfully and used to
simply return -errno.
Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com>
Showing
Please
register
or
sign in
to comment