diff options
| author | Qiushi Wu <[email protected]> | 2020-05-28 18:38:04 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2020-06-15 12:38:56 +0000 |
| commit | 4ddf4739be6e375116c375f0a68bf3893ffcee21 (patch) | |
| tree | 7ccbf8e4adbb5fdd00ab292f32ccc0eb4ced523b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | efi/tpm: Verify event log header before parsing (diff) | |
| download | kernel-4ddf4739be6e375116c375f0a68bf3893ffcee21.tar.gz kernel-4ddf4739be6e375116c375f0a68bf3893ffcee21.zip | |
efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object. Previous
commit "b8eb718348b8" fixed a similar problem.
Fixes: 0bb549052d33 ("efi: Add esrt support")
Signed-off-by: Qiushi Wu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
