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)
commit482049f75750d73358e65236b933417b69f9cc25
tree2a22e246616a8619a4153b2923ddccfe6a184250
parentacd9454433e28c1a365d8b069813c35c1c3a8ac3
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