diff options
| author | Fabio Estevam <[email protected]> | 2015-05-13 15:06:12 -0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2015-05-17 09:10:14 +0100 |
| commit | 32ee56e306b09568619466efe109ab9722e89245 (patch) | |
| tree | 8455041834371cfe4b963e17b3331f078bcbb896 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 9ecdbed7903921f29adae63a3155814b453e7186 (diff) | |
iio: orientation: hid-sensor-incl-3d: Fix memory leak in probe()
'channels' is allocated via kmemdup and it is never freed in the
subsequent error paths.
Use 'indio_dev->channels' directly instead, so that we avoid such
memory leak problem.
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions