aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-21 06:30:30 +0100
committerMauro Carvalho Chehab <[email protected]>2022-06-27 09:24:45 +0100
commite0b212ec9d8177d6f7c404315293f6a085d6ee42 (patch)
treefe9b343c78b66a3616e0486a450c43fb2435b90d /tools/perf/scripts/python/stackcollapse.py
parent5b304046a81eda221b5d06a9c62f7b5e45530fa5 (diff)
media: tw686x: Fix memory leak in tw686x_video_init
video_device_alloc() allocates memory for vdev, when video_register_device() fails, it doesn't release the memory and leads to memory leak, call video_device_release() to fix this. Fixes: 704a84ccdbf1 ("[media] media: Support Intersil/Techwell TW686x-based video capture cards") Signed-off-by: Miaoqian Lin <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions