mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: free properties
When we simply update the properties of an existing stream, don't leak the properties.
This commit is contained in:
parent
d11fb766c6
commit
3873256211
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue