[PATCH AUTOSEL 6.0 01/18] kset: fix memory leak when kset_register() returns error