aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWenwen Wang <wenwen@cs.uga.edu>2019-08-18 02:40:14 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-26 10:40:55 -0300
commit42e64117d3b4a759013f77bbcf25ab6700e55de7 (patch)
tree48fb322b8dabbdc76813479bb0c26980b72921b5 /tools/perf/scripts/python
parentmedia: usb: cx231xx-417: fix a memory leak bug (diff)
downloadlinux-42e64117d3b4a759013f77bbcf25ab6700e55de7.tar.gz
linux-42e64117d3b4a759013f77bbcf25ab6700e55de7.zip
media: saa7146: add cleanup in hexium_attach()
If saa7146_register_device() fails, no cleanup is executed, leading to memory/resource leaks. To fix this issue, perform necessary cleanup work before returning the error. Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions