Bluetooth: Fix memory leak under page timeouts
authorTomas Targownik <ttargownik@geicp.com>
Thu, 30 Jun 2011 19:30:44 +0000 (16:30 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 30 Jun 2011 19:32:52 +0000 (16:32 -0300)
commit163f4dabea4e3be485c17e8f08e3a6468ad31cbf
tree1fab5a250904d550f5c4c8ce206db2da9f89201e
parent9fa7e4f76f3658ba1f44fbdb95c77e7df3f53f95
Bluetooth: Fix memory leak under page timeouts

If the remote device is not present, the connections attemp fails and
the struct hci_conn was not freed

Signed-off-by: Tomas Targownik <ttargownik@geicp.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c