Skip to content

Free ALSA seq resources in midi_device_remove()

Jacek Konieczny linux-bluetooth 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1Free ALSA seq resources in midi_device_remove()profiles/midi/midi.c+10 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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