Files
linux/drivers
Dan Carpenter b4e7c94c8d NFC: nfcmrvl: double free on error path
[ Upstream commit ca42fb9e52d155547e6cf18cf26bce3e1a6af4ea ]

The nci_spi_send() function calls kfree_skb(skb) on both error and
success so this extra kfree_skb() is a double free.

Fixes: caf6e49bf6 ("NFC: nfcmrvl: add spi driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-22 09:23:23 +01:00
..
2017-12-16 10:33:55 +01:00
2018-03-22 09:23:23 +01:00
2018-02-25 11:03:46 +01:00
2018-02-25 11:03:51 +01:00
2018-01-02 20:33:20 +01:00
2018-03-22 09:23:21 +01:00