commit | 256f3ee3d1468660ca3b10ad3beab7e8f6cbd969 | [log] [tgz] |
---|---|---|
author | Thierry Escande <thierry.escande@collabora.com> | Wed Jun 29 10:48:23 2016 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Wed Jul 06 10:02:06 2016 +0200 |
tree | 2691c87eaa34f7a20f82103f68e7e515ba03a552 | |
parent | de9e5aeb4f40e72fa3bb087d378c9bd4ecf65c7f [diff] |
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>