Re: [PATCH] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-08-24 Thread David Miller
From: Dinghao Liu Date: Sun, 23 Aug 2020 15:23:43 +0800 > When down_killable() fails, skb_resp should be freed > just like when st95hf_spi_send() fails. > > Signed-off-by: Dinghao Liu Applied, thank you.

[PATCH] NFC: st95hf: Fix memleak in st95hf_in_send_cmd

2020-08-23 Thread Dinghao Liu
When down_killable() fails, skb_resp should be freed just like when st95hf_spi_send() fails. Signed-off-by: Dinghao Liu --- drivers/nfc/st95hf/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c index 9642971e89ce..4578