aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWenwen Wang <[email protected]>2019-08-18 02:58:53 -0300
committerMauro Carvalho Chehab <[email protected]>2019-08-26 10:41:17 -0300
commit51d47e578a74c687bd71e462ef7db039ce38a964 (patch)
tree26282bb741d34f07cdacdfbbf8854b674fda1783 /tools/perf/scripts/python/bin/stackcollapse-report
parent42e64117d3b4a759013f77bbcf25ab6700e55de7 (diff)
media: fdp1: Fix a memory leak bug
In fdp1_open(), 'ctx' is allocated through kzalloc(). However, it is not deallocated if v4l2_ctrl_new_std() fails, leading to a memory leak bug. To fix this issue, free 'ctx' before going to the 'done' label. Signed-off-by: Wenwen Wang <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions