diff options
author | Wenwen Wang <wenwen@cs.uga.edu> | 2019-08-18 03:40:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-26 10:42:29 -0300 |
commit | 6ca5989e44d3a33710aef8c3f3e8e72156913412 (patch) | |
tree | 3cd39226a419ef648dfc5f274d6b1ee2b62fedf1 /lib/dump_stack.c | |
parent | 51d47e578a74c687bd71e462ef7db039ce38a964 (diff) |
media: ti-vpe: Add cleanup in vpdma_list_cleanup()
If an error occurs in this function, no cleanup is executed, leading to
memory/resource leaks. To fix this issue, introduce two labels to perform
the cleanup work.
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 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions