linux/drivers/misc/mic
Sudip Mukherjee a2a47d00c0 misc: mic: fix memory leak
In scif_node_connect() we were returning if the initialization of p2p_ji
fails. But at that time p2p_ij has already been initialized and
resources allocated for it. And since p2p_ij is not added to the list
till now so we will have a leak.
Lets deinitialize and release the resources connected to p2p_ij.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-17 21:42:29 -07:00
..
bus misc: mic: replace kfree with put_device 2015-10-17 21:42:29 -07:00
card misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: mic: Fix randconfig build error 2015-10-17 21:42:29 -07:00
cosm_client misc: mic: COSM client driver 2015-10-04 12:46:06 +01:00
host misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
scif misc: mic: fix memory leak 2015-10-17 21:42:29 -07:00
Kconfig misc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled 2015-10-05 04:37:28 +01:00
Makefile misc: mic: Update MIC host daemon with COSM changes 2015-10-04 12:54:54 +01:00