Free ALSA seq resources in midi_device_remove()
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | Free ALSA seq resources in midi_device_remove()profiles/ | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH BlueZ 0/1] Free ALSA seq resources in midi_device_remove()
I am having problem connecting via Bluetooth LE MID to my VOX Adio Air GT guitar amplifier. I was not able to debug the connection problem yet, but there was a bigger problem on hand: due to constant connecting/disconnecting ALSA seq resources were leaking until bluetoothd hung and ALSA backend crashed.
I have described a bit more in the github issue: https://github.com/bluez/bluez/issues/225
I was able to fix the leak with the following patch. I am not sure if that is the right way to do this, though. As the relation between midi_disconnect() and midi_device_remove() functions is not clear to me, I have just copied some of the cleanup code from one to the other.
Jacek Konieczny (1):
Free ALSA seq resources in midi_device_remove()
profiles/midi/midi.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
Signature · 1 line
2.25.1