From e756bc5670d0f801ca43dc55b8eacde42a5b818b Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 8 Oct 2013 14:20:24 -0600 Subject: [PATCH] kobject: fix kset sample error path 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed