aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2014-05-03 13:05:08 -0300
committerMauro Carvalho Chehab <[email protected]>2014-06-17 12:04:52 -0300
commit057c2a2ef576a21968e838194b8b9d3b6b106769 (patch)
tree5302cf37ea299f5ae58c853c9b1383084df2b255 /tools/perf/scripts/python
parent3926d91a6b93e42519a48325bf360a5b65460c14 (diff)
[media] V4L: soc-camera: explicitly free allocated managed memory on error
devm_kzalloc() allocations are freed when the device is unbound. But if a certain path fails and the allocated memory cannot be used anyway it is better to free it explicitly immediately. This patch does exactly this if asynchronous group probing in scan_async_group() fails after memory has been allocated. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions