]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix memory leak when removing a UUID
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Nov 2012 09:25:26 +0000 (10:25 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 9 Nov 2012 15:45:37 +0000 (16:45 +0100)
commiteb09849504c893e67e59332d6369c6b5cc16c443
tree2a22e246616a8619a4153b2923ddccfe6a184250
parentbda58f6f23a878510f1d30933f96a9abed59969d
Bluetooth: Fix memory leak when removing a UUID

When removing a UUID from the list in the remove_uuid() function we must
also kfree the entry in addition to removing it from the list.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c