]> git.openfabrics.org - ~emulex/infiniband.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)
commitecc6522b0804d8102d57a9eac36448bda416ce8c
tree24e93b3db2448137cc2bc4a98306ddcfddb11122
parentcc3faac9d88faebe59556f3754ad306117e53b72
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