forked from Minki/linux
93d904a734
nfcmrvl_i2c_nci_send() will be called by nfcmrvl_nci_send(), and skb
should be freed in nfcmrvl_i2c_nci_send(). However, nfcmrvl_nci_send()
will only free skb when i2c_master_send() return >=0, which means skb
will memleak when i2c_master_send() failed. Free skb no matter whether
i2c_master_send() succeeds.
Fixes:
|
||
---|---|---|
.. | ||
fw_dnld.c | ||
fw_dnld.h | ||
i2c.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
nfcmrvl.h | ||
spi.c | ||
uart.c | ||
usb.c |