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