summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/init.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-10-21 21:05:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-30 00:20:28 +0100
commit4bff7208f332b2b1d7cf1338e50527441283a198 (patch)
tree76e3cfbd5ac1e042a9c2b5f54d33d7c9a5ac8238 /drivers/misc/mei/init.c
parentlkdtm: add tests for additional page permissions (diff)
downloadlinux-4bff7208f332b2b1d7cf1338e50527441283a198.tar.xz
linux-4bff7208f332b2b1d7cf1338e50527441283a198.zip
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>
Diffstat (limited to 'drivers/misc/mei/init.c')
0 files changed, 0 insertions, 0 deletions