commit | 8e8248b1369c97c7bb6f8bcaee1f05deeabab8ef | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <alexander.usyskin@intel.com> | Tue Aug 12 18:07:57 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 25 13:16:23 2014 -0700 |
tree | aba113db74ade06690667af99e92776be8d13a9c | |
parent | 73ab4232388b7a08f17c8d08141ff2099fa0b161 [diff] |
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>