mirror of https://github.com/torvalds/linux.git
s3fwrn5_nci_send() won't free the skb when it failed for the check
before s3fwrn5_write(). As the result, the skb will memleak. Free the
skb when the check failed.
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 | ||