diff options
author | Thierry Escande <thierry.escande@collabora.com> | 2016-06-16 20:24:41 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-07-06 10:03:08 +0200 |
commit | b77693447db987e77a39afaa8774e8702cb110d5 (patch) | |
tree | c16ef17f147b8a7b45cd98686f9ce5b8e4237d69 /net/socket.c | |
parent | 8f49bec6c36c73f0c212e07229b19fb4bba85788 (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/socket.c')
0 files changed, 0 insertions, 0 deletions