aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2019-05-13 03:18:29 -0400
committerMauro Carvalho Chehab <[email protected]>2019-05-28 12:49:42 -0400
commit20059cbbf981ca954be56f7963ae494d18e2dda1 (patch)
tree0bebf1aee0d0fca59c04cada4ed6e5d5354f8685 /tools/perf/scripts/python
parentdebb0dd644ce4f304240b37faa360c7cc0b89d7c (diff)
media: vim2m: fix two double-free issues
vim2m_device_release() will be called by video_unregister_device() to release various objects. There are two double-free issue, 1. dev->m2m_dev will be freed twice in error_m2m path/vim2m_device_release 2. the error_v4l2 and error_free path in vim2m_probe() will release same objects, since vim2m_device_release has done. Fixes: ea6c7e34f3b2 ("media: vim2m: replace devm_kzalloc by kzalloc") Cc: Laurent Pinchart <[email protected]> Reported-by: Hulk Robot <[email protected]> Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions