aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-09-02 18:58:52 +0200
committerMauro Carvalho Chehab <[email protected]>2021-03-22 17:12:30 +0100
commit6045b01dd0e3cd3759eafe7f290ed04c957500b1 (patch)
treec884b1903d80b6552ea541da53f208678e4d3019 /tools/perf/scripts/python/netdev-times.py
parent548ad8ee68c034300b714b297fe18b16a8a4f797 (diff)
media: [next] staging: media: atomisp: fix memory leak of object flash
In the case where the call to lm3554_platform_data_func returns an error there is a memory leak on the error return path of object flash. Fix this by adding an error return path that will free flash and rename labels fail2 to fail3 and fail1 to fail2. Link: https://lore.kernel.org/linux-media/[email protected] Fixes: 9289cdf39992 ("staging: media: atomisp: Convert to GPIO descriptors") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions