diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-10-21 21:05:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 00:20:28 +0100 |
commit | 4bff7208f332b2b1d7cf1338e50527441283a198 (patch) | |
tree | 76e3cfbd5ac1e042a9c2b5f54d33d7c9a5ac8238 /drivers/misc/mei/init.c | |
parent | lkdtm: add tests for additional page permissions (diff) | |
download | linux-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