kobject: free memory if netlink_kernel_create() fails
authorDan Carpenter <error27@gmail.com>
Tue, 25 May 2010 09:51:10 +0000 (11:51 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:27:52 +0000 (13:27 -0700)
commit743db2d903bc4e963a31496328d847d69f75047c
tree1bd1b8eba5cf60252b00f2b3abb9edb808bb7a90
parentc842128607a50a670df5f9c75261db2e21db3c45
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: Dan Carpenter <error27@gmail.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject_uevent.c