android_kernel_motorola_sm6225/drivers/misc/mei
Tomas Winkler 4bff7208f3 mei: nfc: fix memory leak in error path
The flow may reach the err label without freeing cl and cl_info

cl and cl_info weren't assigned to ndev->cl and cl_info
so they weren't freed in mei_nfc_free called on error path

Cc: <stable@vger.kernel.org> # 3.10+
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-29 16:20:28 -07:00
..
amthif.c mei: amthif: mei_amthif_host_init: propagate errors from called functions 2013-10-03 16:01:16 -07:00
bus.c mei: bus: stop wait for read during cl state transition 2013-09-26 13:56:53 -07:00
client.c mei: move host_clients_map cleanup to device init 2013-10-19 19:53:46 -07:00
client.h Merge 3.12-rc3 into char-misc-next 2013-09-29 18:27:03 -07:00
debugfs.c mei: convert to use simple_open() 2013-04-11 12:39:01 -07:00
hbm.c Merge 3.12-rc3 into char-misc-next 2013-09-29 18:27:03 -07:00
hbm.h mei: support HBM versioning 2013-06-17 16:43:09 -07:00
hw-me-regs.h mei: me: add Lynx Point Wellsburg work station device id 2013-10-16 12:36:09 -07:00
hw-me.c mei: me: fix hardware reset flow 2013-08-12 15:46:06 -07:00
hw-me.h mei: revamp mei_data2slots 2013-03-15 11:10:48 -07:00
hw.h mei: simplify preparing client host bus messages 2013-01-07 10:31:29 -08:00
init.c mei: move host_clients_map cleanup to device init 2013-10-19 19:53:46 -07:00
interrupt.c mei: push credentials inside the irq write handler 2013-09-26 08:42:02 -07:00
Kconfig mei: move mei-me to separate module 2013-03-29 08:32:21 -07:00
main.c mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
Makefile mei: nfc: Initial nfc implementation 2013-04-10 18:56:53 -07:00
mei_dev.h mei: revamp open handler counts 2013-10-03 16:01:16 -07:00
nfc.c mei: nfc: fix memory leak in error path 2013-10-29 16:20:28 -07:00
pci-me.c mei: me: downgrade two errors to debug level 2013-10-19 19:53:46 -07:00
wd.c mei: deprecate the mei_wd_state_independence_msg 2013-05-30 21:44:41 +09:00