mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
sink-input: Fix memory leak of proplist when sending format-changed events
This commit is contained in:
parent
3c4accfde2
commit
e59fc6c6bc
1 changed files with 1 additions and 0 deletions
|
|
@ -1600,6 +1600,7 @@ int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save) {
|
|||
* reconnect */
|
||||
pa_proplist_sets(p, "device", dest->name);
|
||||
pa_sink_input_send_event(i, PA_STREAM_EVENT_FORMAT_LOST, p);
|
||||
pa_proplist_free(p);
|
||||
return -PA_ERR_NOTSUPPORTED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue