diff options
-rw-r--r-- | samples/kobject/kset-example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c index d0c687f..5dce351 100644 --- a/samples/kobject/kset-example.c +++ b/samples/kobject/kset-example.c @@ -262,6 +262,7 @@ baz_error: bar_error: destroy_foo_obj(foo_obj); foo_error: + kset_unregister(example_kset); return -EINVAL; } |