NFC: st21nfcb: Fix memory leak in secure element probing stage
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 31 Mar 2015 06:02:14 +0000 (08:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 5 Apr 2015 21:54:55 +0000 (23:54 +0200)
commit2ca21002798a1a88196a90f407b80df3a25c69dc
tree4d471bf3d59542f186ba55d62724065c8bec7ec7
parent6be88670fc59d50426f90f734a36b90e1de7d148
NFC: st21nfcb: Fix memory leak in secure element probing stage

In case the hci session is successfully initialized we never
release the nci_core_conn_create dest_params.

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