]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st21nfca: Fix potential skb leaks in NFC-DEP code
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 13 Sep 2014 08:28:44 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Sep 2014 00:02:23 +0000 (02:02 +0200)
commit8f25b3601531fdfe68799e5c90b5371fe8291634
tree24e93b3db2448137cc2bc4a98306ddcfddb11122
parenta44c0cc76375036b97975a7ebb10d9a5b1454499
NFC: st21nfca: Fix potential skb leaks in NFC-DEP code

After a unsuccessful call to nfc_hci_send_event the skb was not
freed and might lead to memory leak.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/st21nfca_dep.c