diff options
author | Dan Carpenter | 2015-12-23 23:45:27 +0100 |
---|---|---|
committer | Samuel Ortiz | 2015-12-29 19:06:23 +0100 |
commit | c6dc65d885b98898bf287aaf44e020077b41769f (patch) | |
tree | 94d8c0d3eaecb7589469b9dc6066445c2a1b57ab /include/net/atmclip.h | |
parent | 97b69788971de8af994ba570d56c455e79eaf35e (diff) |
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 'include/net/atmclip.h')
0 files changed, 0 insertions, 0 deletions