mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
stream: close rtwritefd
rtreadfd is added as IO in the context loop, and closed when that loop is torn down. But rtwritefd is only used by the stream, and needs to be closed when the stream is destroyed. Change-Id: I7cdd623290933b2aff861003fdf1f390ff566a49
This commit is contained in:
parent
879057c565
commit
bef8d91d72
1 changed files with 2 additions and 0 deletions
|
|
@ -327,6 +327,8 @@ void pw_stream_destroy(struct pw_stream *stream)
|
|||
if (stream->name)
|
||||
free(stream->name);
|
||||
|
||||
close(impl->rtwritefd);
|
||||
|
||||
free(impl);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue