aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-07-28 14:11:24 -0300
committerMauro Carvalho Chehab <[email protected]>2019-08-14 16:00:59 -0300
commit70c55c1ad1a76e804ee5330e134674f5d2741cb7 (patch)
treeae7128318ef1bb7df8900e8ddda538c3e5978da1 /tools/perf/scripts/python/export-to-sqlite.py
parentb20a6e298bcb8cb8ae18de26baaf462a6418515b (diff)
media: vsp1: fix memory leak of dl on error return path
Currently when the call vsp1_dl_body_get fails and returns null the error return path leaks the allocation of dl. Fix this by kfree'ing dl before returning. Addresses-Coverity: ("Resource leak") Fixes: 5d7936b8e27d ("media: vsp1: Convert display lists to use new body pool") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions