pipewire/spa
Barnabás Pőcze b04b52ecf8 spa: alsa: do not look up the card again when releasing
Currently, `release_card()` uses `find_card()` to find the card
by the index stored in the state object. However, `find_card()`
increments the reference count of the object, therefore
`release_card()` will drop the reference that it has just
created by calling `find_card()` and not the "calling scope's"
reference. This prevents the card objects from being
freed when the SPA handle is cleared.

Fix it by having `release_card()` take a pointer to the card
and not its index.
2021-12-20 19:50:57 +01:00
..
examples meson: ensure all examples are included in doc 2021-11-02 09:46:14 +00:00
include spa: fix initializer for old GCC 2021-12-16 11:08:07 +01:00
plugins spa: alsa: do not look up the card again when releasing 2021-12-20 19:50:57 +01:00
tests Remove remaining tabs from meson.build files 2021-09-30 00:08:27 +00:00
tools json: don't escape / 2021-06-24 16:18:59 +02:00
meson.build bluez5: Use libfreeaptx instead of libopenaptx 2021-07-29 15:22:04 +00:00