commit | 4bff7208f332b2b1d7cf1338e50527441283a198 | [log] [tgz] |
---|---|---|
author | Tomas Winkler <tomas.winkler@intel.com> | Mon Oct 21 22:05:38 2013 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 29 16:20:28 2013 -0700 |
tree | 76e3cfbd5ac1e042a9c2b5f54d33d7c9a5ac8238 | |
parent | 9ae113ce5faf1c74af1ee71b5ef7d04b6b06b063 [diff] |
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>