diff options
author | Fabio Estevam <[email protected]> | 2015-05-07 20:32:04 -0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2015-05-12 20:01:13 +0100 |
commit | f0828ba96d02d4d4b197c531b34c662ee3c928df (patch) | |
tree | d722023606d70fd61f4af731d8069d30affcdc8b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f29b212edb9e253cafcb4a2ab7842a890989f1a5 (diff) |
iio: light: hid-sensor-prox: Fix memory leak in probe()
'channels' is allocated via kmemdup and it is never freed.
Use 'indio_dev->channels' directly instead, so that we avoid such
memory leak problem.
Reported-by: Alexey Khoroshilov <[email protected]>
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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions