diff options
author | 2019-09-17 17:47:12 -0500 | |
---|---|---|
committer | 2019-09-27 21:57:42 +0200 | |
commit | 6402939ec86eaf226c8b8ae00ed983936b164908 (patch) | |
tree | 7803cfd97b141bda44913009e5342a8d29547033 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ieee802154: mcr20a: simplify a bit 'mcr20a_handle_rx_read_buf_complete()' (diff) | |
download | linux-dev-6402939ec86eaf226c8b8ae00ed983936b164908.tar.xz linux-dev-6402939ec86eaf226c8b8ae00ed983936b164908.zip |
ieee802154: ca8210: prevent memory leak
In ca8210_probe the allocated pdata needs to be assigned to
spi_device->dev.platform_data before calling ca8210_get_platform_data.
Othrwise when ca8210_get_platform_data fails pdata cannot be released.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20190917224713.26371-1-navid.emamdoost@gmail.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions