[PATCH 1/2] bluetooth: fix possible segfault in bluetooth backend-native.c module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The pa_bluetooth_transport_unlink function already
called by the pa_bluetooth_transport_free function.
---
 src/modules/bluetooth/backend-native.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/bluetooth/backend-native.c b/src/modules/bluetooth/backend-native.c
index 6eb4e168..cbafaff6 100644
--- a/src/modules/bluetooth/backend-native.c
+++ b/src/modules/bluetooth/backend-native.c
@@ -415,7 +415,6 @@ static void rfcomm_io_callback(pa_mainloop_api *io, pa_io_event *e, int fd, pa_i
     return;
 
 fail:
-    pa_bluetooth_transport_unlink(t);
     pa_bluetooth_transport_free(t);
 }
 
-- 
2.11.0



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux