forked from luck/tmp_suning_uos_patched
41fe79cf11
[ Upstream commit beae4a6258e64af609ad5995cc6b6056eb0d898e ]
The "msh" pointer is device managed, meaning that memstick_alloc_host()
calls device_initialize() on it. That means that it can't be free
using kfree() but must instead be freed with memstick_free_host().
Otherwise it leads to a tiny memory leak of device resources.
Fixes:
|
||
---|---|---|
.. | ||
jmb38x_ms.c | ||
Kconfig | ||
Makefile | ||
r592.c | ||
r592.h | ||
rtsx_pci_ms.c | ||
rtsx_usb_ms.c | ||
tifm_ms.c |