[PATCH AUTOSEL 4.19 1/6] kset: fix memory leak when kset_register() returns error