diff options
| author | Wenwen Wang <wenwen@cs.uga.edu> | 2019-08-17 10:04:04 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-22 00:39:54 +0300 |
| commit | 2f6451ed8b5223a28eab81116dd2f901c0dc9f4a (patch) | |
| tree | 22c2e04b9bc3b429e2102b82eb4e5af1ea9f278f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8c3d3cdbd5dde9bc87d556d2daa9d771ac5254dc (diff) | |
| download | linux-2f6451ed8b5223a28eab81116dd2f901c0dc9f4a.tar.xz | |
media: dvb-frontends: fix a memory leak bug
In cx24117_load_firmware(), 'buf' is allocated through kmalloc() to hold
the firmware. However, if i2c_transfer() fails, it is not deallocated,
leading to a memory leak bug.
Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
