diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-03-08 08:22:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:23 +0100 |
commit | b4e7c94c8d315fc902ae5c19eb386da53b7917ac (patch) | |
tree | 849b4db04ee634b81f2bc1348ab02562e2ab5d4c /arch/arm/boot/dts/r8a7790.dtsi | |
parent | 416aa216705520b8a959b7e65417bd0cd92a0b9c (diff) |
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: caf6e49bf6d0 ("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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7790.dtsi')
0 files changed, 0 insertions, 0 deletions