summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/Kconfig
diff options
context:
space:
mode:
authorDan Carpenter2017-03-08 06:22:37 +0100
committerSamuel Ortiz2017-04-02 00:09:17 +0200
commitca42fb9e52d155547e6cf18cf26bce3e1a6af4ea (patch)
tree508c0c1d009f20621dad80a6c08f60ca4909b3b4 /drivers/nfc/Kconfig
parentnfc: st21nfca: Remove unneeded linux/miscdevice.h include (diff)
downloadkernel-qcow2-linux-ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea.tar.gz
kernel-qcow2-linux-ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea.tar.xz
kernel-qcow2-linux-ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea.zip
NFC: nfcmrvl: double free on error path
The nci_spi_send() function calls kfree_skb(skb) on both error and success so this extra kfree_skb() is a double free. Fixes: caf6e49bf6d0 ("NFC: nfcmrvl: add spi driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/Kconfig')
0 files changed, 0 insertions, 0 deletions