freebsd-dev/sys/cam/mmc
Bjoern A. Zeeb 1e5d733503 mmc_da: fix memory leak in sddaregister()
In case we are failing to allocate mmcdata, we are returning with
a softc allocated but not attached to anything and thus leak the
memory.

Reviewed by:	scottl
MFC after:	2 weeks
X-MFC:		only if we also mfc other mmccam changes?
Differential Revision:	https://reviews.freebsd.org/D25987
2020-08-07 19:58:16 +00:00
..
mmc_all.h mmcam: Use a static length sbuf buffer 2020-08-04 20:02:23 +00:00
mmc_bus.h
mmc_da.c mmc_da: fix memory leak in sddaregister() 2020-08-07 19:58:16 +00:00
mmc_xpt.c Minor cleanups in mmc_xpt.c 2020-08-04 21:58:43 +00:00
mmc.h Fix setting RCA for MMC cards 2018-06-19 20:02:03 +00:00