aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-11 11:38:12 -0400
committerMauro Carvalho Chehab <[email protected]>2019-06-21 15:33:07 -0400
commitefe8b031d8eb92ef8c68efd05ca5c11a1050619a (patch)
tree9153e9b73ae146b1ee05132e78fa66dfa1007838 /tools/perf/scripts/python
parent575f60312b3c5036385e95f61737da5a9e72f0ad (diff)
media: stv090x: fix double free on state object
There two callers of stv090x_setup_compound manage the allocation and freeing if state there is an error condition from stv090x_setup_compound. Currently function stv090x_setup_compound also frees the state object too, leading to a double free in the callers of this function. Fix this by removing the extraneous free in stv090x_setup_compound and just leave the callers handle the allocation/free'ing. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions