diff options
author | 2017-03-08 08:22:37 +0300 | |
---|---|---|
committer | 2017-04-02 00:09:17 +0200 | |
commit | ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea (patch) | |
tree | 508c0c1d009f20621dad80a6c08f60ca4909b3b4 /tools/perf/scripts/python | |
parent | nfc: st21nfca: Remove unneeded linux/miscdevice.h include (diff) | |
download | wireguard-linux-ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea.tar.xz wireguard-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions