mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
remote: call disconnect to make sure we free all memory
This commit is contained in:
parent
d6f40cefa6
commit
a2d2d75a25
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ int pw_remote_steal_fd(struct pw_remote *remote)
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
fd = pw_protocol_client_steal_fd(remote->conn);
|
fd = pw_protocol_client_steal_fd(remote->conn);
|
||||||
pw_remote_update_state(remote, PW_REMOTE_STATE_UNCONNECTED, NULL);
|
pw_remote_disconnect(remote);
|
||||||
|
|
||||||
return fd;
|
return fd;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue