aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-08 07:27:25 -0400
committerMauro Carvalho Chehab <[email protected]>2019-06-21 16:19:54 -0400
commita84e355ecd3ed9759d7aaa40170aab78e2a68a06 (patch)
tree6d7203447703da5dd208d3a34864775b7fe0c077 /tools/perf/scripts
parent94b5bf3ac9c4b34a2b1516772c63fb94da6ad5d3 (diff)
media: staging: davinci: fix memory leaks and check for allocation failure
There are three error return paths that don't kfree params causing a memory leak. Fix this by adding an error return path that kfree's params before returning. Also add a check to see params failed to be allocated. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions