From: Li Zefan Date: Fri, 13 Jun 2008 03:09:16 +0000 (+0800) Subject: kobject: should use kobject_put() in kset-example X-Git-Tag: v2.6.27-rc1~866^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=185000fc556372b7fb7f26516c325f212030dbd3;p=pandora-kernel.git kobject: should use kobject_put() in kset-example We should call kobject_put() instead of kfree() if kobject_init_and_add() returns an error, shouldn't we? Don't set up a bad example ;) Signed-off-by: Li Zefan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed