diff options
author | Dan Carpenter <[email protected]> | 2024-04-29 16:01:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-05-04 18:57:21 +0200 |
commit | 3df463865ba42b8f88a590326f4c9ea17a1ce459 (patch) | |
tree | d78b14e4fa6972194cd15d82d45eae193fb89e01 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 1565fce99bd053483eba0714122988dcd29fac91 (diff) |
stm class: Fix a double free in stm_register_device()
The put_device(&stm->dev) call will trigger stm_device_release() which
frees "stm" so the vfree(stm) on the next line is a double free.
Fixes: 389b6699a2aa ("stm class: Fix stm device initialization order")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Amelie Delaunay <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions