diff options
author | Thierry Escande <thierry.escande@linux.intel.com> | 2014-02-12 17:27:51 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-02-17 02:49:55 +0400 |
commit | 6ea7398d00345a33b47d905875416ca4421838de (patch) | |
tree | 53109341d092b714925e7b43f91516a1545443ef /net/nfc/nci/spi.c | |
parent | 564af14e36742f5900e40d48dcf30a3414acb143 (diff) | |
download | linux-6ea7398d00345a33b47d905875416ca4421838de.tar.xz |
NFC: digital: Fix a possible memory leak
This fixes a memory leak issue that may occur if data sending fails in
initiator mode. The data_exch structure was not released in case of
error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/nci/spi.c')
0 files changed, 0 insertions, 0 deletions