mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-05 00:06:16 -04:00
Merge branch 'master' into 'master'
module-rtp: release data_loop on rtp_stream_new error path See merge request pipewire/pipewire!2869
This commit is contained in:
commit
a21f3a7566
1 changed files with 2 additions and 0 deletions
|
|
@ -1036,6 +1036,8 @@ out:
|
||||||
if (impl) {
|
if (impl) {
|
||||||
if (impl->stream)
|
if (impl->stream)
|
||||||
pw_stream_destroy(impl->stream);
|
pw_stream_destroy(impl->stream);
|
||||||
|
if (impl->data_loop)
|
||||||
|
pw_context_release_loop(impl->context, impl->data_loop);
|
||||||
free(impl);
|
free(impl);
|
||||||
}
|
}
|
||||||
errno = -res;
|
errno = -res;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue