[PATCH AUTOSEL 6.1 08/26] kset: fix memory leak when kset_register() returns error