kobject: free memory if netlink_kernel_create() fails
There is a kfree(ue_sk) missing on the error path if netlink_kernel_create() fails. Signed-off-by: NDan Carpenter <error27@gmail.com> Reviewed-by: N"Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录