NFC: rawsock: Fix a memory leak
authorThierry Escande <thierry.escande@linux.intel.com>
Wed, 10 Jul 2013 08:55:37 +0000 (10:55 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:40 +0000 (02:02 +0200)
commit4cf7e032960a945f813784a68bf0b982a4035bf9
tree744f67660b82de2eb6dd6dd36719602f3a6b6a5a
parente44666b98111e64efae974c3e91357d991dba0ca
NFC: rawsock: Fix a memory leak

In the rawsock data exchange callback, the sk_buff is not freed
on error.

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