summaryrefslogtreecommitdiff
path: root/net/nfc/digital_dep.c
diff options
context:
space:
mode:
authorThierry Escande <thierry.escande@collabora.com>2016-06-16 20:24:41 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2016-07-06 10:03:08 +0200
commitb77693447db987e77a39afaa8774e8702cb110d5 (patch)
treec16ef17f147b8a7b45cd98686f9ce5b8e4237d69 /net/nfc/digital_dep.c
parent8f49bec6c36c73f0c212e07229b19fb4bba85788 (diff)
NFC: digital: Fix a memory leak in NFC-F listening mode
When configured as a target listening for a SENSF_REQ poll command, a nfcid2 array was allocated for no reason leading to a memory leak. The nfcid2 is sent by the target in the SENSF_RES reply. Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/digital_dep.c')
0 files changed, 0 insertions, 0 deletions