diff options
| author | Dmitry Torokhov <[email protected]> | 2017-05-24 00:07:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-05-25 13:37:16 +0000 |
| commit | 2ee1cc70552e5520a275254427c0c37fc81728d2 (patch) | |
| tree | ec52f22a5a86985220b05afd12cb0701d31cd3ce /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | firmware: vpd: avoid potential use-after-free when destroying section (diff) | |
| download | kernel-2ee1cc70552e5520a275254427c0c37fc81728d2.tar.gz kernel-2ee1cc70552e5520a275254427c0c37fc81728d2.zip | |
firmware: vpd: do not leak kobjects
kobject_del() only unlinks kobject, we need to use kobject_put() to
make sure kobject will go away completely.
Fixes: 049a59db34eb ("firmware: Google VPD sysfs driver")
Signed-off-by: Dmitry Torokhov <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
