diff options
| author | Colin Ian King <[email protected]> | 2018-12-22 09:12:26 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-01-16 11:44:29 -0500 |
| commit | c54dbfcda3059c255f335e75a27d7f5c64e6549e (patch) | |
| tree | 06b7d73aca573cbdb518a492355f845628b8185f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9502cdf0807058a10029488052b064cecceb7fc9 (diff) | |
media: cxd2880-spi: fix two memory leaks of dvb_spi
There are two return paths that do not kfree dvb_spi. Fix the memory
leaks by returning via the exit label fail_adapter that will free
dvi_spi.
Detected by CoverityScan, CID#1475991 ("Resource Leak")
Fixes: cb496cd472af ("media: cxd2880-spi: Add optional vcc regulator")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Yasunari Takiguchi <[email protected]>?
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions