Files
twx-linux/drivers
Ard Biesheuvel 7ba9be0ba0 efi/efivars: Add missing kobject_put() in sysfs entry creation error path
commit d8bd8c6e2c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:05:01 +02:00
..
…
…
…
…
…
…
2020-03-11 14:14:45 +01:00
…
2020-04-13 10:45:03 +02:00
…
…
…
…
…
…
…
…
…
2020-05-27 17:37:43 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-02-24 08:34:47 +01:00
…
…
…