linux/net/nfc/llcp
Wei Yongjun 52da2449e1 NFC: Fix possible LLCP memory leak
nfc_llcp_build_tlv() malloced the memory and should be free in
nfc_llcp_build_gb() after used, and the same in the error handling
case, otherwise it will cause memory leak.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2012-09-25 00:17:24 +02:00
..
commands.c NFC: LLCP's MIUX is 10 bytes long, not 7 2012-06-04 21:34:29 +02:00
Kconfig NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
llcp.c NFC: Fix possible LLCP memory leak 2012-09-25 00:17:24 +02:00
llcp.h NFC: Use system_nrt_wq instead of custom ones 2012-09-25 00:17:23 +02:00
sock.c NFC: Remove repeated code for NULL check 2012-09-25 00:17:23 +02:00