avb: free the ringbuffer

This commit is contained in:
Wim Taymans 2026-05-04 18:43:56 +02:00
parent f91b98a812
commit 8344117e7b

View file

@ -416,6 +416,8 @@ int spa_avb_init(struct state *state, const struct spa_dict *info)
int spa_avb_clear(struct state *state)
{
free(state->ringbuffer_data);
state->ringbuffer_data = NULL;
return 0;
}