NFC: nfcmrvl: Fix possible memory leak issue
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 8 Jan 2014 18:52:27 +0000 (10:52 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 9 Jan 2014 00:27:20 +0000 (01:27 +0100)
This patch fixes memory leaks in the error paths of
nfcmrvl_nci_register_dev() routine.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found