mirror of https://github.com/torvalds/linux.git
s3fwrn5_nci_send() will call s3fwrn5_i2c_write() or s3fwrn82_uart_write(),
and free the skb if write() failed. However, even if the write() run
succeeds, the skb will not be freed in write(). As the result, the skb
will memleak. s3fwrn5_nci_send() should also free the skb when write()
succeeds.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| core.c | ||
| firmware.c | ||
| firmware.h | ||
| i2c.c | ||
| nci.c | ||
| nci.h | ||
| phy_common.c | ||
| phy_common.h | ||
| s3fwrn5.h | ||
| uart.c | ||