diff options
author | 2015-12-23 23:45:27 +0100 | |
---|---|---|
committer | 2015-12-29 19:06:23 +0100 | |
commit | c6dc65d885b98898bf287aaf44e020077b41769f (patch) | |
tree | 94d8c0d3eaecb7589469b9dc6066445c2a1b57ab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nfc: pn544: Remove i2c client gpio irq configuration (diff) | |
download | linux-dev-c6dc65d885b98898bf287aaf44e020077b41769f.tar.xz linux-dev-c6dc65d885b98898bf287aaf44e020077b41769f.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions