diff options
author | 2015-03-21 08:02:23 +0200 | |
---|---|---|
committer | 2015-03-22 08:03:54 +0100 | |
commit | baf880a96859cca79208122e555e7efeabd16e4d (patch) | |
tree | f0b1f60266422f2777c16dd689fcaed1556702e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Bluetooth: Read Verbose Config Version Info for Broadcom devices (diff) | |
download | linux-dev-baf880a96859cca79208122e555e7efeabd16e4d.tar.xz linux-dev-baf880a96859cca79208122e555e7efeabd16e4d.zip |
Bluetooth: Fix memory leak in le_scan_disable_work_complete()
The hci_request in le_scan_disable_work_complete() was being initialized
in a general context but only used in a specific branch in the function
(when simultaneous discovery is not supported). This patch moves the
usage to be limited to the branch where hci_req_run() is actually
called.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions