diff options
author | Thierry Escande | 2016-06-29 10:48:23 +0200 |
---|---|---|
committer | Samuel Ortiz | 2016-07-06 10:02:06 +0200 |
commit | 256f3ee3d1468660ca3b10ad3beab7e8f6cbd969 (patch) | |
tree | 2691c87eaa34f7a20f82103f68e7e515ba03a552 /drivers | |
parent | NFC: llcp: Fix usage of llcp_add_tlv() (diff) | |
download | kernel-qcow2-linux-256f3ee3d1468660ca3b10ad3beab7e8f6cbd969.tar.gz kernel-qcow2-linux-256f3ee3d1468660ca3b10ad3beab7e8f6cbd969.tar.xz kernel-qcow2-linux-256f3ee3d1468660ca3b10ad3beab7e8f6cbd969.zip |
NFC: llcp: Fix 2 memory leaks
Once copied into the sk_buff data area using llcp_add_tlv(), the
allocated TLVs must be freed.
With this patch nfc_llcp_send_connect() and nfc_llcp_send_cc() don't
return immediately on success and now free the allocated TLVs.
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions