mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 18:36:46 +07:00
c54dbfcda3
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:
|
||
---|---|---|
.. | ||
cxd2880-spi.c | ||
gs1662.c | ||
Kconfig | ||
Makefile |