diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-12-24 01:45:27 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-12-29 21:06:23 +0300 |
commit | c6dc65d885b98898bf287aaf44e020077b41769f (patch) | |
tree | 94d8c0d3eaecb7589469b9dc6066445c2a1b57ab /Documentation | |
parent | 97b69788971de8af994ba570d56c455e79eaf35e (diff) | |
download | linux-c6dc65d885b98898bf287aaf44e020077b41769f.tar.xz |
NFC: nci: memory leak in nci_core_conn_create()
I've moved the check for "number_destination_params" forward
a few lines to avoid leaking "cmd".
Fixes: caa575a86ec1 ('NFC: nci: fix possible crash in nci_core_conn_create')
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions