alsa: free properties

When we simply update the properties of an existing stream, don't leak
the properties.
This commit is contained in:
Wim Taymans 2023-01-19 15:32:29 +01:00
parent d11fb766c6
commit 3873256211

View file

@ -598,6 +598,7 @@ static int snd_pcm_pipewire_prepare(snd_pcm_ioplug_t *io)
if (pw->stream != NULL) {
pw_stream_update_properties(pw->stream, &props->dict);
pw_stream_update_params(pw->stream, params, 1);
pw_properties_free(props);
goto done;
}