aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2016-10-07 17:39:17 -0300
committerMauro Carvalho Chehab <[email protected]>2016-11-16 16:28:22 -0200
commitf4ca5030b3a34bc7017c195e89181deaa5ee9a42 (patch)
tree049371d8d9a38e7471b14656691a0df7dd545cd8 /tools/perf/scripts/python/bin/stackcollapse-report
parent652bb68018a557c795db9a24cf8e84280340b38e (diff)
[media] exynos-gsc: don't release a non-dynamically allocated video_device
The struct v4l2_device instance for the G-Scaler is not dyanmically allocated but a member of the struct gsc_dev. In fact, the assigned .release callback is video_device_release_empty(). But gsc_register_m2m_device() attempts to release the v4l2_device by calling video_device_release() in its error path. This is wrong since the v4l2_device wasn't allocated directly and will be freed once its parent struct gsc_dev is freed. While being there, rename the remaining goto label in the error path to something that better explains the error path cleanup. Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Sylwester Nawrocki <[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