summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-11-17 12:37:12 +0100
committerDavid S. Miller <davem@davemloft.net>2022-11-21 09:31:52 +0100
commite204ead35401af5e120f653a133d54ee2595627e (patch)
treeaa6f4bee97031b1705359778b4303a1e9c8d7c1b /.get_maintainer.ignore
parentmacsec: Fix invalid error code set (diff)
downloadlinux-e204ead35401af5e120f653a133d54ee2595627e.tar.xz
linux-e204ead35401af5e120f653a133d54ee2595627e.zip
nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
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() won't free the skb when it failed for the test_bit(). Free the skb when test_bit() failed. Fixes: b5b3e23e4cac ("NFC: nfcmrvl: add i2c driver") Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Suggested-by: Pavel Machek <pavel@denx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions