]> code.delx.au - pulseaudio/commit
bluetooth: Don't access a transport after it's freed.
authorTanu Kaskinen <tanuk@iki.fi>
Tue, 18 Dec 2012 06:47:58 +0000 (08:47 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 19 Dec 2012 10:31:50 +0000 (12:31 +0200)
commitaf0c45386faa8828c5b682211673265d677f376d
treee275f27ca5b95637ef42f36716a60a6134c76301
parent6f1c3df37b85b47cd1d2d3b046d79ad13d8e61ac
bluetooth: Don't access a transport after it's freed.

In addition to moving the freeing a bit later, unnecessary checks for
t->device are removed. t->device is initialized to a non-NULL value
when the transport is created, and it's never changed.
src/modules/bluetooth/bluetooth-util.c