diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-08-12 19:07:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-26 00:16:23 +0400 |
commit | 8e8248b1369c97c7bb6f8bcaee1f05deeabab8ef (patch) | |
tree | aba113db74ade06690667af99e92776be8d13a9c /drivers/thunderbolt | |
parent | 73ab4232388b7a08f17c8d08141ff2099fa0b161 (diff) | |
download | linux-8e8248b1369c97c7bb6f8bcaee1f05deeabab8ef.tar.xz |
mei: nfc: fix memory leak in error path
NFC will leak buffer if send failed.
Use single exit point that does the freeing
Cc: stable@vger.kernel.org #3.10+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions