summaryrefslogtreecommitdiffstats
path: root/Documentation/input
diff options
context:
space:
mode:
authorMartin Faltesek <mfaltesek@google.com>2022-11-22 01:42:45 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-24 05:01:50 +0100
commit440f2ae9c9f06e26f5dcea697a53717fc61a318c (patch)
tree3265dc0d85db87edc75c3c681a533b36a378d427 /Documentation/input
parentnfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION (diff)
downloadlinux-440f2ae9c9f06e26f5dcea697a53717fc61a318c.tar.xz
linux-440f2ae9c9f06e26f5dcea697a53717fc61a318c.zip
nfc: st-nci: fix memory leaks in EVT_TRANSACTION
Error path does not free previously allocated memory. Add devm_kfree() to the failure path. Reported-by: Denis Efremov <denis.e.efremov@oracle.com> Reviewed-by: Guenter Roeck <groeck@google.com> Fixes: 5d1ceb7f5e56 ("NFC: st21nfcb: Add HCI transaction event support") Signed-off-by: Martin Faltesek <mfaltesek@google.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/input')
0 files changed, 0 insertions, 0 deletions