NFC: Fix a potential memory leak
authorThierry Escande <thierry.escande@linux.intel.com>
Wed, 5 Jun 2013 15:15:59 +0000 (17:15 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jun 2013 11:45:06 +0000 (13:45 +0200)
commitf1b79dc8915ebf176d6f1fcfc4fee001b6d5ca46
tree260c43828c955f23d3a5874562bcf4dfb62f938a
parent17f7ae16aef1f58bc4af4c7a16b8778a91a30255
NFC: Fix a potential memory leak

In nfc_llcp_tx_work() the sk_buff is not freed when the llcp_sock
is null and the PDU is an I one.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp_core.c