diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-12-05 11:45:22 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-05 12:13:00 +0100 |
commit | 22078800c337cf374d58b63a5b1f670d470e6dbf (patch) | |
tree | 8dbcd74c8e7bdd094e44a39634e3d2891dd7954d /net/6lowpan | |
parent | Bluetooth: Add helper function for clearing the discovery filter (diff) | |
download | linux-22078800c337cf374d58b63a5b1f670d470e6dbf.tar.xz linux-22078800c337cf374d58b63a5b1f670d470e6dbf.zip |
Bluetooth: Fix memory leaks from discovery filter UUID list
In case of failure or when unplugging a controller, the allocated
memory for the UUID list of the discovery filter is not freed. Use
the newly introduced helper for reset the discovery filter and with
that also freeing existing memory.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions