Ard Biesheuvel d8bd8c6e2c efi/efivars: Add missing kobject_put() in sysfs entry creation error path
The documentation provided by kobject_init_and_add() clearly spells out
the need to call kobject_put() on the kobject if an error is returned.
Add this missing call to the error path.

Cc: <stable@vger.kernel.org>
Reported-by: 亿一 <teroincn@gmail.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2020-05-22 18:19:06 +02:00
..
2020-01-27 13:03:00 -08:00
2020-04-03 15:05:35 -07:00
2020-04-03 15:02:35 -07:00
2019-07-19 17:13:56 -07:00