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