Skip to content
Snippets Groups Projects
user avatar
Bjorn Helgaas authored
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: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
e756bc56
History
Name Last commit Last update
..