Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, example_init() leaked a kset if any of the object creations failed. This fixes the leak by calling kset_unregister() in the error path. Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information