git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae113c
)
mei: nfc: fix memory leak in error path
author
Tomas Winkler
<tomas.winkler@intel.com>
Mon, 21 Oct 2013 19:05:38 +0000
(22:05 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 23:20:28 +0000
(16:20 -0700)
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>
No differences found