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