]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - samples/kobject/kset-example.c
Merge tag 'xfs-for-linus-v3.14-rc1' of git://oss.sgi.com/xfs/xfs
[mirror_ubuntu-bionic-kernel.git] / samples / kobject / kset-example.c
index d0c687fd9802220bd558303f54ccd683e77a3803..5dce351f131f8c154048124bc1bf3a6a32cb32c7 100644 (file)
@@ -262,6 +262,7 @@ baz_error:
 bar_error:
        destroy_foo_obj(foo_obj);
 foo_error:
+       kset_unregister(example_kset);
        return -EINVAL;
 }