diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-10-21 22:05:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 11:11:52 -0800 |
commit | bd7e08189efba225bfa173372b05682ac141af88 (patch) | |
tree | 250a3a4804ea5c4398292a7a1ccdfa7be87fb696 /lib/memory-notifier-error-inject.c | |
parent | 7adb120526cf06bc2c0a8449194172ecfb62c730 (diff) |
mei: nfc: fix memory leak in error path
commit 4bff7208f332b2b1d7cf1338e50527441283a198 upstream.
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: 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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions